CGXGridCore::SetZoom

virtual void SetZoom(int nZoom, UINT flags = GX_UPDATENOW);

nZoom

Specifies the new scaling-factor in percent.

flags

  • Specifies the update-technique:

  • GX_UPDATENOW calls UpdateWindow after invalidating the window.

GX_INVALIDATE and GX_SMART simply invalidate the window.

Remarks

Overridable command for specifying the zoom-factor.

The scaling factor is stored with a call to StoreZoom. The display is updated with UpdateZoom.

See Also

 CGXGridCore::StoreZoom  CGXGridCore::UpdateZoom  CGXGridCore::GetZoom

CGXGridCore

 Class Overview |  Class Members