←Select platform

DocumentWriterEmptyPage Class

Summary

Data for one empty page to be added to a document file.

Syntax
C#
VB
Objective-C
C++
Java
public class DocumentWriterEmptyPage : DocumentWriterPage 
Public Class DocumentWriterEmptyPage  
   Inherits DocumentWriterPage 
@interface LTDocumentWriterEmptyPage : LTDocumentPage <NSCopying> 
public class DocumentWriterEmptyPage extends DocumentWriterPage 
public ref class DocumentWriterEmptyPage : public DocumentWriterPage  

Remarks

The DocumentWriterEmptyPage class derives from DocumentWriterPage 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 DocumentWriterEmptyPage and call the DocumentWriter.AddPage or DocumentWriter.InsertPage methods. The dimension of the empty page must be set before hand in the DocumentWriterEmptyPage.Width and DocumentWriterEmptyPage.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.

Example

For an example, refer to DocumentWriterRasterPage.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Writer Assembly