[]
Creates a new instance of the C1PdfDocument class.
public C1PdfDocument()
Public Sub New()
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)
Public Sub New(paperKind As 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)
Public Sub New(paperKind As PaperKind, landscape As Boolean)
| 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)
Public Sub New(pageSizeInPoints As SizeF)
| 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.