Leadtools.Forms.DocumentWriters Namespace > DocumentWriter Class : AddPage Method |
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 )
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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2