Inserts a new page to current document being created.
public void InsertPage(
DocumentPage page,
int pageNumber
)
Public Sub InsertPage( _
ByVal page As Leadtools.Forms.Documentwriters.DocumentPage, _
ByVal pageNumber As Integer _
)
- (BOOL)insertPage:(LTDocumentPage *)page
progress:(nullable LTDocumentWriterProgressHandler)progress
pageNumber:(NSUInteger)pageNumber
error:(NSError **)error
public void insertPage(DocumentPage page, int pageNumber)
public:
void InsertPage(
Leadtools.Forms.Documentwriters.DocumentPage^ page,
int pageNumber
)
page
The new page properties
pageNumber
1-based number of page.
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.
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.
Programming with LEADTOOLS Document Writers
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET