ComponentOne PDF for .NET
C1PdfDocument Constructor(PaperKind,Boolean)

C1.C1Pdf.4 Assembly > 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.
Creates a new instance of the C1PdfDocument class.
Syntax
'Declaration
 
Public Function New( _
   ByVal paperKind As System.Drawing.Printing.PaperKind, _
   ByVal landscape As System.Boolean _
)
public C1PdfDocument( 
   System.Drawing.Printing.PaperKind paperKind,
   System.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

Reference

C1PdfDocument Class
C1PdfDocument Members
Overload List