ComponentOne PDF for .NET
C1.C1Pdf Namespace / PdfPageCollection Class / Insert Method / Insert(Int32,SizeF) Method
The position where the new page will be inserted.
The size of the new page, expressed in points.

In This Topic
    Insert(Int32,SizeF) 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 pageSize As SizeF _
    ) 
    public void Insert( 
       int index,
       SizeF pageSize
    )

    Parameters

    index
    The position where the new page will be inserted.
    pageSize
    The size of the new page, expressed in points.
    See Also