Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / PageCollection Class / Insert Method / Insert(Int32,PaperKind) Method
The position where the new page will be inserted.
The size of the new page, expressed as a GrapeCity.Documents.Common.PaperKind.

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

    Parameters

    index
    The position where the new page will be inserted.
    paperKind
    The size of the new page, expressed as a GrapeCity.Documents.Common.PaperKind.

    Return Value

    The newly created page.
    See Also