←Select platform

EmptyPageHeight Property

Summary

Document empty page height.

Syntax
C#
VB
Objective-C
C++
Java
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.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Writer Assembly