ImageGear .NET - Updated October 26, 2017
Add Method (ImGearPDFDocumentPageArray)




ImageGear23.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDFDocumentPageArray Class : Add Method
Page to add.
Adds new page at the end of the document.
Syntax
'Declaration
 
Public Overrides NotOverridable Function Add( _
   ByVal page As ImGearPage _
) As Integer
 
'Usage
 
Dim instance As ImGearPDFDocumentPageArray
Dim page As ImGearPage
Dim value As Integer
 
value = instance.Add(page)

Parameters

page
Page to add.

Return Value

Index of the newly added page in the document. Integer value.
Remarks
The page must be parentless. If you want to add a page from another document, clone the page first.
See Also

Reference

ImGearPDFDocumentPageArray Class
ImGearPDFDocumentPageArray Members