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);
Object.defineProperty('EmptyPageResolution');
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.