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

EmptyPageResolution Property (DocumentOptions)






Gets or sets the resolution (in dots per inch) of the document empty page. .NET support
Syntax
public int EmptyPageResolution {get; set;}
'Declaration
 
Public Property EmptyPageResolution As Integer
'Usage
 
Dim instance As DocumentOptions
Dim value As Integer
 
instance.EmptyPageResolution = value
 
value = instance.EmptyPageResolution
public int EmptyPageResolution {get; set;}
 get_EmptyPageResolution();
set_EmptyPageResolution(value);
public:
property int EmptyPageResolution {
   int get();
   void set (    int value);
}

Property Value

Document resolution value given in dots per inch unit and it controls the dimensions of the empty page. Default value is 0 (use the current screen resolution).
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 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