PdfDrawOptions.Create Method

Creates default draw options.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)


public static PdfDrawOptions Create()
Public Shared Function Create As PdfDrawOptions

Return Value

Type: PdfDrawOptions
The newly created default draw options.


Default draw options are:

  • Background is transparent.
  • Image format is Png.
  • Scaling mode is Zoom with zoom percent equal to 100 (i.e., no zoom).
  • Physical size of each produced image is equal to the physical size of the corresponding PDF page.
  • Vertical resolution is 72 pixels per inch.
  • Horizontal resolution is 72 pixels per inch.

Produced images will be additionally scaled when HorizontalResolution or VerticalResolution properties are not equal to 72 pixels per inch. The scaling happens to maintain the same physical size of the corresponding PDF page in the produced images.

To produce images of an exact width, height, or both, please use CreateFitWidth(Double), CreateFitHeight(Double), or CreateFitSize(PdfSize, Boolean) methods.

See Also