Visual Basic (Declaration) | |
---|---|
Public Property EmptyPageResolution As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int EmptyPageResolution {get; set;} |
Return Value
Document resolution value given in dots per inch unit and it controls the dimensions of the empty page. Default value is 0 (use the current screen resolution).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 DocumentOptions.PageRestriction property must be set to DocumentPageRestriction.Relaxed.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family