ComponentOne PDF for .NET
C1.C1Pdf Namespace / PdfPageCollection Class / Add Method / Add() Method

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

    Return Value

    The index of the new page.
    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).

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

    See Also