This property sets the size of the saved PDF document.

[Visual Basic] Public Property DocumentSize As String
[C#] public String DocumentSize {get; set;}

Property Value

The following are supported setting values:

A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10
B0, B1, B2, B3, B4, B5, B6, B7, B8, B9
LETTER, LEGAL

Explanation

The DocumentSize property sets the size of the saved PDF document.

Please set this property before executing the AddPage method.

     imageKit1.File.Pdf.DocumentSize = "a4";
     imageKit1.File.Pdf.AddPage();

When the DocumentSize property is set, it is not necessary to set the DocumentHeight or DocumentWidth properties.

Also See

ImageKit.File.Pdf Members | Newtone.ImageKit.Wpf.ImageKit

 

The ImageKit WPF is created by Newtone Corporation