←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 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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Forms.DocumentWriters Assembly
Click or drag to resize