LEADTOOLS Forms (Leadtools.Forms.DocumentWriters assembly)
LEAD Technologies, Inc

EmptyPageWidth Property (DocumentOptions)






Gets or sets the document empty page width. .NET support
Syntax
public double EmptyPageWidth {get; set;}
'Declaration
 
Public Property EmptyPageWidth As Double
'Usage
 
Dim instance As DocumentOptions
Dim value As Double
 
instance.EmptyPageWidth = value
 
value = instance.EmptyPageWidth
public double EmptyPageWidth {get; set;}
 get_EmptyPageWidth();
set_EmptyPageWidth(value);
public:
property double EmptyPageWidth {
   double get();
   void set (    double value);
}

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 method. 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DocumentOptions Class
DocumentOptions Members
DocumentWriter Class
Programming with LEADTOOLS Document Writers
Files to be Included with Your Application
Unlocking Special LEAD Features

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Forms.DocumentWriters requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features