Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / PageCollection Class / Add Method / Add(PaperKind) Method
The GrapeCity.Documents.Common.PaperKind determining the size of the new page.

In This Topic
    Add(PaperKind) Method
    In This Topic
    Creates a new Page of the specified GrapeCity.Documents.Common.PaperKind and adds it to the end of the document.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal paperKind As PaperKind _
    ) As Page
    public Page Add( 
       PaperKind paperKind
    )

    Parameters

    paperKind
    The GrapeCity.Documents.Common.PaperKind determining the size of the new page.

    Return Value

    The newly created page.
    Remarks

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

    See Also