Data for one empty page to be added to a document file.
The DocumentEmptyPage class derives from DocumentPage and contains the data for one empty page to be added to a document file. It is used as a parameter to the DocumentWriter.AddPage or DocumentWriter.InsertPage methods used to add the page.
The LEADTOOLS Document Writer supports creating documents with zero or more empty pages inside them. Simply add a page with type DocumentEmptyPage and call the DocumentWriter.AddPage or DocumentWriter.InsertPage methods. The dimension of the empty page must be set before hand in the DocumentEmptyPage.Width and DocumentEmptyPage.Height and its resolution set to DocumentOptions.EmptyPageResolution. As many empty pages as desired can be added in any index desired. To use empty pages, make sure the DocumentOptions.PageRestriction property is set to DocumentPageRestriction.Relaxed.
For more information, refer to PdfDocumentOptions.
For an example, refer to DocumentRasterPage.
Products |
Support |
Feedback: DocumentEmptyPage Class - Leadtools.Forms.DocumentWriters |
Introduction |
Help Version 19.0.2017.3.21
|