←Select platform

EmptyPageHeight Property

Summary

Document empty page height.

Syntax
C#
VB
Java
Objective-C
C++
public double EmptyPageHeight { get; set; } 
Public Property EmptyPageHeight As Double 
@property (nonatomic, assign) double emptyPageHeight 
public double getEmptyPageHeight() 
public void setEmptyPageHeight(double height) 
public: 
property double EmptyPageHeight { 
   double get(); 
   void set (    double ); 
} 

Property Value

A double value that indicates the height of an empty page in inches. Default value is 11.

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.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Writer Assembly