This property sets the width of the PDF document.

[Visual Basic]   imagekitcontrolname.File.PDF.DocumentWidth [ = Integer ]
[Visual C++]    [ short = ]imagekitcontrolname.GetFile().GetPDF().GetDocumentWidth()
                      imagekitcontrolname.GetFile().GetPDF().SetDocumentWidth(short Val)
[VB.NET]   imagekitcontrolname.File.PDF.DocumentWidth[ = Short ]
[C#.NET]   imagekitcontrolname.File.PDF.DocumentWidth[ = short ]

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 DocumentWidth property, set an empty string or NULL (Visual C ++), vbNullString (Visual Basic), Nothing (VB.NET), or null (C # .NET) into 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 ActiveX is a product created by Newtone Corporation