ImageGear PDF v25.2 - Updated
Add Method (ImGearPDFDocumentPageArray)




ImageGear.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)
public override int Add( 
   ImGearPage page
)
public: int Add( 
   ImGearPage* page
) override 
public:
int Add( 
   ImGearPage^ page
) override 

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

Is this page helpful?
Yes No
Thanks for your feedback.