Leadtools.Forms.DocumentWriters Namespace > DocumentOptions Class : EmptyPageWidth Property |
public double EmptyPageWidth {get; set;}
'Declaration Public Property EmptyPageWidth As Double
'Usage Dim instance As DocumentOptions Dim value As Double instance.EmptyPageWidth = value value = instance.EmptyPageWidth
public double EmptyPageWidth {get; set;}
get_EmptyPageWidth();
set_EmptyPageWidth(value);
The 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 PageRestriction property must be set to DocumentPageRestriction.Relaxed.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2