Sets the image zoom (i.e. by setting IEViewer.Zoom), but does so with smooth zoom (image will slowly zoom to the new value).
If ZoomX and ZoomY are not -1 then the zoom will be centered at a specified position (specified in client coordinates). This is like calling IEViewer.ZoomAt.
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0
Syntax
C# | Visual Basic | Visual C++ |
public void SetZoomSmooth( double zoom, int zoomX, int zoomY )
Public Sub SetZoomSmooth ( _ zoom As Double, _ zoomX As Integer, _ zoomY As Integer _ )
public: void SetZoomSmooth( double zoom, int zoomX, int zoomY )
Parameters
- zoom
- Double
Zoom percentage (100 = no zoom)
- zoomX
- Int32
Horizontal Zoom center (-1 = center)
- zoomY
- Int32
Vertical Zoom center (-1 = center)