ZoomScaled Method

Zooms the current viewport to given scale factor.

See Also | Example

Signature

object.ZoomScaled Scale, ScaleType

Object

Application
The object or objects this method applies to.

Scale

Double; input-only
The zoom factor for the zoom.

ScaleType

AcZoomScaleType enum, input-only; optional

acZoomScaledAbsolute

acZoomScaledRelative

acZoomScaledRelativePSpace

Remarks

The ScaleType value determines how the scale factor is applied:

acZoomScaledAbsolute

Relative to the drawing limits.

acZoomScaledRelative

Relative to the current view.

acZoomScaledRelativePSpace

Relative to paper space units.

This method applies to the current active viewport (paper space viewport or model space viewport).

 

   Comments?