←Select platform

EmptyPageWidth Property

Summary

Document empty page width.

Syntax

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

Leadtools.Forms.DocumentWriters Assembly