PDFViewCtrlSetZoom Method |
Name | Description | |
---|---|---|
SetZoom(Double) | Sets the zoom factor to a new value. The function zooms to a point at the center of the rendering buffer.
| |
SetZoom(Int32, Int32, Double) | Sets the zoom factor to a new value using the given pixel coordinate (x,y) as a zoom center, which will stay fixed on the screen.
The zoom point (x,y) is represented in the screen coordinate system, which starts in the upper-left corner of the client window.
Should you want to move (x, y) to the center of the client window, you can use the OnScroll() subsequently:
| |
SetZoom(Int32, Int32, Double, Boolean) | Sets the zoom factor to a new value using the given pixel coordinate (x,y) as a zoom center, which will stay fixed on the screen.
The zoom point (x,y) is represented in the screen coordinate system, which starts in the upper-left corner of the client window.
Should you want to move (x, y) to the center of the client window, you can use the OnScroll() subsequently:
|