LEADTOOLS Forms (Leadtools.Forms.DocumentWriters assembly)

AddPage Method

Show in webframe







The new page properties
Adds a new page to current document being created.
Syntax
public void AddPage( 
   DocumentPage page
)
'Declaration
 
Public Sub AddPage( _
   ByVal page As DocumentPage _
) 
'Usage
 
Dim instance As DocumentWriter
Dim page As DocumentPage
 
instance.AddPage(page)
public void AddPage( 
   DocumentPage page
)

            

            
 function Leadtools.Forms.DocumentWriters.DocumentWriter.AddPage( 
   page 
)
public:
void AddPage( 
   DocumentPage page
) 

Parameters

page
The new page properties
Remarks

This method can be called multiple times for each page to be added to the new document. To create a new document and on information on how to use the DocumentWriter class, refer to BeginDocument.

The DocumentPage.EmfHandle property of the page parameter must contain a valid Windows Enhanced Meta File handle (EMF). The DocumentPage.Image property is optional and is used only when the document being created is PDF with the Image/Text overlay option. To create a PDF document with image/text overlay, perform the following steps:

For more information, refer to PdfDocumentOptions.

Example
For an example, refer to DocumentWriter.
Requirements

Target Platforms

See Also

Reference

DocumentWriter Class
DocumentWriter Members
DocumentPage Structure
DocumentFormat Enumeration
Programming with LEADTOOLS Document Writers
Files to be Included with Your Application
Unlocking Special LEAD Features

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 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