Gets or sets the Graphics object used when the document is created. That Graphics is used to calculate text sizes, measure RTF text, and so on.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

Examples

The following code reduces the document's creation resolution to a 300dpi 33MB image, and is closer to a fine T4 fax resolution:

Copy CodeVisual Basic
C1PrintDocument1.CreationGraphics = C1.C1Preview.C1PrintDocument.CreateGraphicsForDpi(300)
Copy CodeC#
c1PrintDocument1.CreationGraphics = C1.C1Preview.C1PrintDocument.CreateGraphicsForDpi(300);

See Also