IZoom Class

class IZoom: public IQueryGuid

This interface defines functions for setting the magnification of an object that supports zooming. The  ZoomExtents function does the work of adjusting a device context to account for the zoom magnification.

Defined in: Zoom.h

Class Members

virtual CSize  SetMagnification(const int nPctX, const int nPctY)

Set logical scaling as percent magnification.

virtual CSize  GetMagnification() const

Get logical scaling as percent magnification.

virtual CSize  IncreaseMagnification(const int nPctX, const int nPctY)

Increase logical scaling by a percentage.

virtual CSize  DecreaseMagnification(const int nPctX, const int nPctY)

Decrease logical scaling by a percentage.

virtual void  ZoomExtents(CSize& szWndExt, CSize& szVpExt) const

Adjust window and viewport extents for magnification.