ComponentOne PDF for .NET
C1.C1Pdf Namespace / PdfPageCollection 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 System.Drawing.Printing.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 Sub Insert( _
       ByVal index As Integer, _
       ByVal paperKind As PaperKind _
    ) 
    public void Insert( 
       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 System.Drawing.Printing.PaperKind.
    See Also