Share via


CenterSelectionOnZoom Property [Visio 2003 SDK Documentation]

Determines whether when the user zooms in, the selection appears in the center of the window.

boolRet = object.CenterSelectionOnZoom

object.CenterSelectionOnZoom = boolValue

boolRet    Boolean. True if centering the selection on zoom is enabled; False if it is disabled.

object    Required. An expression that returns an ApplicationSettings object.

boolValue    Required Boolean. True to enable centering the selection on zoom; False to disable it.

Remarks

Setting the CenterSelectionOnZoom property is equivalent to setting the Center selection on zoom option on the General tab of the Options dialog box (Tools menu).

Applies to | ApplicationSettings object

See Also | ZoomBehavior property | ZoomLock property | ZoomOnRoll property