Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / PageCollection Class / Insert Method / Insert(Int32) Method
The position where the new page will be inserted.

In This Topic
    Insert(Int32) Method
    In This Topic
    Creates a new page and inserts it at a specific position in the document.
    Syntax
    'Declaration
     
    Public Overloads Function Insert( _
       ByVal index As System.Integer _
    ) As Page
    public Page Insert( 
       System.int index
    )

    Parameters

    index
    The position where the new page will be inserted.

    Return Value

    The newly created page.
    Remarks

    The size of the new page is determined by the PageSize property of the parent document.

    See Also