Creates a new instance of the C1PdfDocument class.

Namespace:  C1.Silverlight.Pdf
Assembly:  C1.Silverlight.Pdf (in C1.Silverlight.Pdf.dll)

Syntax

C#
public C1PdfDocument(
	PaperKind paperKind,
	bool landscape
)
Visual Basic
Public Sub New ( _
	paperKind As PaperKind, _
	landscape As Boolean _
)

Parameters

paperKind
Type: C1.Silverlight.Pdf..::..PaperKind
The default paper size for the document.
landscape
Type: System..::..Boolean
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.

See Also