The EmptyPageWidth Property is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
Gets or sets the document empty page width.Visual Basic (Declaration) | |
---|---|
Public Property EmptyPageWidth As Double |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As DocumentOptions Dim value As Double instance.EmptyPageWidth = value value = instance.EmptyPageWidth |
C# | |
---|---|
public double EmptyPageWidth {get; set;} |
Property Value
A double value that indicates the width of an empty page in inches. Default value is 8.5The DocumentWriter class supports creating document with empty pages. To create an empty page, use a DocumentPage structure with its EmfHandle set to IntPtr.Zero and pass it to the DocumentWriter.AddPage method. Control the size of this empty page in inches by setting the EmptyPageWidth, EmptyPageHeight and EmptyPageResolution properties to the desired values.
Note that in order to create empty pages, the DocumentOptions.PageRestriction property must be set to DocumentPageRestriction.Relaxed.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7