This property sets the width of the PDF document.

[C++ Builder]    imagekitcontrolname->FileIO->PDF->DocumentWidth[=short]
[Delphi]   imagekitcontrolname.FileIO.PDF.DocumentWidth [ = Smallint ]

Value

The width of the PDF (in mm)
Default value is 210

Explanation

The DocumentWidth property sets the width of the PDF document. The units are in millimeters. The default is 210 mm which is the width of the A4 paper size.

The document's size is determined by the DocumentWidth property and the DocumentHeight 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.

 

The ImageKit10 VCL is a product created by Newtone Corporation