LEADTOOLS Forms (Leadtools.Forms.DocumentWriters assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
EmptyPageHeight Property
See Also 
Leadtools.Forms.DocumentWriters Namespace > DocumentOptions Class : EmptyPageHeight Property



The EmptyPageHeight Property is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

Gets or sets the document empty page height.

Syntax

Visual Basic (Declaration) 
Public Property EmptyPageHeight As Double
Visual Basic (Usage)Copy Code
Dim instance As DocumentOptions
Dim value As Double
 
instance.EmptyPageHeight = value
 
value = instance.EmptyPageHeight
C# 
public double EmptyPageHeight {get; set;}
C++/CLI 
public:
property double EmptyPageHeight {
   double get();
   void set (    double value);
}

Property Value

A double value that indicates the height of an empty page in inches. Default value is 11.

Example

For an example, refer to DocumentWriter.

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. 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 DocumentOptions.PageRestriction property must be set to DocumentPageRestriction.Relaxed.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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