←Select platform

EmptyPageResolution Property

Summary

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

Syntax

C#
VB
Java
Objective-C
C++
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 DocumentPage 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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.DocumentWriters Assembly