←Select platform

EmptyPageWidth Property

Summary

Document empty page width.

Syntax
C#
VB
Objective-C
C++
Java
public double EmptyPageWidth { get; set; } 
Public Property EmptyPageWidth As Double 
@property (nonatomic, assign) double emptyPageWidth 
public double getEmptyPageWidth() 
public void setEmptyPageWidth(double width) 
public: 
property double EmptyPageWidth { 
   double get(); 
   void set (    double ); 
} 

Property Value

A double value that indicates the width of an empty page in inches. Default value is 8.5

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