[]
Creates a new instance of the C1PdfDocument class.
public C1PdfDocument()
The new document contains a single empty page, and the default page size is set to Letter (8.5 x 11 inches).
Creates a new instance of the C1PdfDocument class.
public C1PdfDocument(PaperKind paperKind)
| Type | Name | Description |
|---|---|---|
| PaperKind | paperKind | The default paper size for the document. |
The new document contains a single empty page, and the default page size is set to the value of the parameter.
Creates a new instance of the C1PdfDocument class.
public C1PdfDocument(PaperKind paperKind, bool landscape)
| Type | Name | Description |
|---|---|---|
| PaperKind | paperKind | The default paper size for the document. |
| bool | landscape | The default paper orientation for the document. |
The new document contains a single empty page, and the default page size is set to the value of the and parameters.
Creates a new instance of the C1PdfDocument class.
public C1PdfDocument(SizeF pageSizeInPoints)
| Type | Name | Description |
|---|---|---|
| SizeF | pageSizeInPoints | The default paper size for the document, in points. |
The new document contains a single empty page, and the default page size is set to the value of the parameter.