Click or drag to resize

PDFViewCtrlSmartZoom Method

Overload List
  NameDescription
Public methodSmartZoom(Int32, Int32)
Sets the zoom factor to a new value using the given pixel coordinate (x,y) to find an intersecting paragraph. The width of the paragraph helps to determine the zoom value, center of the paragraph is used as a zoom center. Paragraph has to contain more than one line and be wider than 1/5th of a page width. When performing a smart zoom would not significantly change the zoom level, it will be ignored. Note: This call should not be made while any pointer is interacting with the PDFViewCtrl, as that might cause some issues. If this is done on a tap, or click, you can add a delay by marshaling a callback for the UI thread.
Public methodSmartZoom(Int32, Int32, Boolean)
Sets the zoom factor to a new value using the given pixel coordinate (x,y) to find an intersecting paragraph. The width of the paragraph helps to determine the zoom value, center of the paragraph is used as a zoom center. Paragraph has to contain more than one line and be wider than 1/5th of a page width. When performing a smart zoom would not significantly change the zoom level, it will be ignored. Note: This call should not be made while any pointer is interacting with the PDFViewCtrl, as that might cause some issues. If this is done on a tap, or click, you can add a delay by marshaling a callback for the UI thread.
Top
See Also