ImageGear v26.5 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF Namespace / ImGearPDFDocumentPageArray Class / Add Method
Page to add.




In This Topic
    Add Method (ImGearPDFDocumentPageArray)
    In This Topic
    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