Click or drag to resize

PDFViewCtrlSetZoom Method

Overload List
  NameDescription
Public methodSetZoom(Double)
Sets the zoom factor to a new value. The function zooms to a point at the center of the rendering buffer.
Public methodSetZoom(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:
Public methodSetZoom(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:
Top
See Also