←Select platform

DocumentEmptyPage Class

Summary

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

Syntax

C#
VB
Java
Objective-C
C++
public class DocumentEmptyPage : DocumentPage 
Public Class DocumentEmptyPage  
   Inherits Leadtools.Forms.Documentwriters.DocumentPage 
@interface LTDocumentEmptyPage : LTDocumentPage <NSCopying> 
public class DocumentEmptyPage extends DocumentPage 
public ref class DocumentEmptyPage : public Leadtools.Forms.Documentwriters.DocumentPage  

Remarks

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.

Example

For an example, refer to DocumentRasterPage.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.DocumentWriters Assembly