CGXGridCore::StoreZoom

virtual BOOL StoreZoom(int nZoom, BOOL bCreateHint = TRUE);?

nZoom

Specifies the new scaling-factor in percent.

bCreateHint

Specifies if a hint should be created.

Return Value

TRUE if the value could be stored; it is FALSE if the value could not be stored.

Remarks

Overridable method which changes the zoom-factor of the window-object and sets the last-zoom-factor of the property-object. Newly created views will retrieve their initial zoom-factor from the property-object.

You can override this method if you want to maintain the factor in your own classes. The library accesses the factor through GetZoom.

See Also

 CGXGridCore::GetZoom

CGXGridCore

 Class Overview |  Class Members