zoom Method

Zoom the view by a scale factor, placing the new center at the given point (world coordinates).

zoom(newCenter: undefined | Point3d, factor: number, options?: ViewChangeOptions & MarginOptions & OnViewExtentsError): ViewStatus

Parameter Type Description
newCenter undefined | Point3d The new center point of the view, in world coordinates. If undefined, use current center.
factor number the zoom factor.
options ViewChangeOptions & MarginOptions & OnViewExtentsError options for behavior of view change

Returns - ViewStatus

Defined in

Last Updated: 15 March, 2024