Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
Leadtools.Forms.DocumentWriters Namespace > DocumentOptions Class : EmptyPageWidth Property |
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;}
@property (nonatomic, assign) double emptyPageWidth
public double getEmptyPageWidth() public void setEmptyPageWidth(double width)
<br/>get_EmptyPageWidth();<br/>set_EmptyPageWidth(value);<br/>Object.defineProperty('EmptyPageWidth');
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.