This property sets the height of the PDF document.
[C++
Builder] imagekitcontrolname->FileIO->PDF->DocumentHeight[=short]
[Delphi] imagekitcontrolname.FileIO.PDF.DocumentHeight
[ = Smallint ]
Value
The height of the PDF (in mm)
Default value is 297
Explanation
The DocumentHeight property sets the height of the PDF document. The units are in millimeters. The default is 297 mm which is the height of the A4 paper size.
The document's size is determined by the DocumentHeight property and the DocumentWidth property, or the DocumentSize property. To enable the setting value of this property, set an empty string or NULL (C++Builder), nil (Delphi) to the DocumentSize property.
Set an appropriate value in this property before executing the AddPage method.
Setting this value
This value can be set at runtime.
Retrieving this value
This value can be retrieved at run-time.