PdfDocumentView.SetZoom Method (Double)

Sets the magnification level to use when displaying the page in the view.

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

Syntax

C#
public void SetZoom(
	double zoomPercent
)
VB
Public Sub SetZoom ( 
	zoomPercent As Double
)

Parameters

zoomPercent
Type: System.Double
The magnification level in percent.

Remarks

The target page will be displayed starting from the upper side of the page.

The zoom percent equal to 0 means that an application displaying the document should not change magnification level before displaying this view.

The magnification level should be 0 or in the range [8..3200].

This method sets the zoom type to PercentBased and Top property to null.

See Also