ComponentOne PDF for .NET
C1.C1Pdf Namespace / PdfPageCollection Class / Add Method / Add(SizeF) Method
The size of the new page, in points.

In This Topic
    Add(SizeF) Method
    In This Topic
    Creates a new PdfPage with the specified size and adds it to the end of the document.
    Syntax
    'Declaration
     
    
    Public Overloads Function Add( _
       ByVal pageSize As SizeF _
    ) As Integer
    public int Add( 
       SizeF pageSize
    )

    Parameters

    pageSize
    The size of the new page, in points.

    Return Value

    The index of the new page.
    Remarks

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

    You can also add pages to a C1PdfDocument by calling the C1PdfDocumentBase.NewPage method.

    See Also