LEADTOOLS Forms (Leadtools.Forms.DocumentWriters assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
AddPage Method
See Also 
Leadtools.Forms.DocumentWriters Namespace > DocumentWriter Class : AddPage Method



page
The new page properties

The AddPage Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

page
The new page properties
Adds a new page to current document being created.

Syntax

Visual Basic (Declaration) 
Public Sub AddPage( _
   ByVal page As DocumentPage _
) 
Visual Basic (Usage)Copy Code
Dim instance As DocumentWriter
Dim page As DocumentPage
 
instance.AddPage(page)
C# 
public void AddPage( 
   DocumentPage page
)
C++/CLI 
public:
void AddPage( 
   DocumentPage page
) 

Parameters

page
The new page properties

Example

For an example, refer to DocumentWriter.

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Forms.DocumentWriters requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features