[]
        
(Showing Draft Content)

C1.C1Pdf.C1PdfDocument.-ctor

C1PdfDocument Constructor

C1PdfDocument()

Creates a new instance of the C1PdfDocument class.

Declaration
public C1PdfDocument()
Remarks

The new document contains a single empty page, and the default page size is set to Letter (8.5 x 11 inches).

C1PdfDocument(PaperKind)

Creates a new instance of the C1PdfDocument class.

Declaration
public C1PdfDocument(PaperKind paperKind)
Parameters
Type Name Description
PaperKind paperKind

The default paper size for the document.

Remarks

The new document contains a single empty page, and the default page size is set to the value of the parameter.

C1PdfDocument(PaperKind, bool)

Creates a new instance of the C1PdfDocument class.

Declaration
public C1PdfDocument(PaperKind paperKind, bool landscape)
Parameters
Type Name Description
PaperKind paperKind

The default paper size for the document.

bool 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 and parameters.

C1PdfDocument(SizeF)

Creates a new instance of the C1PdfDocument class.

Declaration
public C1PdfDocument(SizeF pageSizeInPoints)
Parameters
Type Name Description
SizeF pageSizeInPoints

The default paper size for the document, in points.

Remarks

The new document contains a single empty page, and the default page size is set to the value of the parameter.