This property sets the size of the PDF document.

[C++ Builder]    imagekitcontrolname->FileIO->PDF->DocumentSize[=UnicodeString]
[Delphi]   imagekitcontrolname.FileIO.PDF.DocumentSize [ = string ]

Value

The size of the PDF
Default value is an empty string

Explanation

The DocumentSize property sets the size of the PDF document.

The size of the document is determined by the DocumentSize property or by the DocumentHeight and DocumentWidth properties. If you set the size, such as "A4", into the DocumentSize property, it becomes effective. If you set an empty string or NULL (C++Builder), nil (Delphi), then the values set in the DocumentHeight and DocumentWidth properties are enabled. Set an appropriate value in this property before executing the AddPage method.

The sizes that can be set for this property are as follows: A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, B0, B1, B2, B3, B4, B5, B6, B7, B8, B9, LETTER, LEGAL
* It does not matter whether it is uppercase or lowercase.

Setting this value

  This value can be set at runtime.

Retrieving this value

  This value can be retrieved at run-time.

 

The ImageKit10 VCL is a product created by Newtone Corporation