ComponentOne PDF for .NET
C1.C1Pdf Namespace / C1PdfDocument Class / C1PdfDocument Constructor / C1PdfDocument Constructor(PaperKind,Boolean)
The default paper size for the document.
The default paper orientation for the document.

In This Topic
    C1PdfDocument Constructor(PaperKind,Boolean)
    In This Topic
    Creates a new instance of the C1PdfDocument class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal paperKind As PaperKind, _
       ByVal landscape As Boolean _
    )
    public C1PdfDocument( 
       PaperKind paperKind,
       bool landscape
    )

    Parameters

    paperKind
    The default paper size for the document.
    landscape
    The default paper orientation for the document.
    Remarks
    The new document contains a single empty page, and the default page size is set to the value of the paperKind and landscape parameters.
    See Also