Table of Contents

Method CreateZoom

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

CreateZoom(double)

Creates draw options for producing images of PDF pages zoomed in or out to the specified percent.

public static PdfDrawOptions CreateZoom(double zoomPercent)

Parameters

zoomPercent double

The zoom percent (magnification level).

Returns

PdfDrawOptions

The options for producing images of PDF pages zoomed in or out to the specified percent.

Remarks

The zoom percent should be in the [1..6500] range.

Each produced image will contain the corresponding PDF page zoomed to the percent specified by zoomPercent.

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, bool) methods.