ComponentOne PDF for .NET
C1.C1Pdf Namespace / PdfPageCollection 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 Sub Insert( _
       ByVal index As Integer _
    ) 
    public void Insert( 
       int index
    )

    Parameters

    index
    The position where the new page will be inserted.
    Remarks

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

    The new page becomes current after it is added to the document (see the CurrentPage property).

    See Also