Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
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 )
- (BOOL)addPage:(LTDocumentPage *)page progress:(nullable LTDocumentWriterProgressHandler)progress error:(NSError **)error
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 LEADTOOLS Document Writers for more information.
Depending on the type of the page, the SvgDocument, DocumentEmfPage.EmfHandle or DocumentRasterPage.Image property of the page parameter must contain a valid object. The DocumentSvgPage.Image, DocumentEmfPage.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:
AddPage will append the new page at the end of the document. To insert a page at a random place in the document, use InsertPage. Note that InsertPage is only supported if the was crated using the DocumentFormat.Ltd format.
For more information, refer to PdfDocumentOptions.