ZoomTo Method

PDFTron SilverDox SDK

Collapse imageExpand ImageCopy imageCopyHover image
Adjusts the viewer's zoom factor, and positions the point (x,y) at the upper left corner of the viewer.

Namespace: PDFTron.SilverDox.Controls
Assembly: SilverDox (in SilverDox.dll) Version: 1.2.4413.29010

Syntax

C#
public void ZoomTo(
	double x,
	double y,
	double zoom
)
Visual Basic
Public Sub ZoomTo ( _
	x As Double, _
	y As Double, _
	zoom As Double _
)
Visual C++
public:
void ZoomTo(
	double x, 
	double y, 
	double zoom
)

Parameters

x
Type: System..::..Double
The number of units that the scroll viewer is scrolled to the right.
y
Type: System..::..Double
The number of units that the scroll viewer is scrolled down.
zoom
Type: System..::..Double
The zoom value. The content is zoomed before it is scrolled.

See Also