SECZoomView::SetZoomMinMaxPercent

voidSECZoomView::SetZoomMinMaxPercent(intnMin, intnMax)

Specifies the minimum and maximum zoom percents that act as a floor and ceiling for the zoom view. The floor and ceiling are checked when one of the Zoom calls is made and if the new zoom percent is below the floor or above the ceiling, no zooming is performed. Optimal minimum and maximum values vary per application, so no defaults are specified.
If no minimum or maximum is specified, it is possible for the zooming to become so large or small as to overflow the internal zoom values causing ‘zoom wrap’.

Defined in: ZOOMVIEW.CPP

Return Value

void

Parameters

nMin

The minimum allowed zoom percent.

nMax

The maximum allowed zoom percent.

See Also

GetZoomLevel

ZoomLevelChanged

SECZoomView