←Select platform

EmptyPageResolution Property

Summary

Resolution (in dots per inch) of the document empty page.

Syntax
C#
VB
Objective-C
C++
Java
public int EmptyPageResolution { get; set; } 
Public Property EmptyPageResolution As Integer 
@property (nonatomic, assign) NSInteger emptyPageResolution 
public int getEmptyPageResolution() 
public void setEmptyPageResolution(int resolution) 
public: 
property int EmptyPageResolution { 
   int get(); 
   void set (    int ); 
} 

Property 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).

Remarks

The DocumentWriter class supports creating document with empty pages. To create an empty page, use a DocumentWriterPage structure with its EmfHandle set to IntPtr.Zero and pass it to the DocumentWriter.AddPage or DocumentWriter.InsertPage methods. 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.

Example

For an example, refer to DocumentWriter.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Writer Assembly