Leadtools.Forms.DocumentWriters Namespace > DocumentOptions Class : EmptyPageResolution Property |
public int EmptyPageResolution {get; set;}
'Declaration Public Property EmptyPageResolution As Integer
'Usage Dim instance As DocumentOptions Dim value As Integer instance.EmptyPageResolution = value value = instance.EmptyPageResolution
public int EmptyPageResolution {get; set;}
get_EmptyPageResolution();
set_EmptyPageResolution(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. You can 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