Table of Contents

Method ZoomObjects

Namespace
OpenCAD2D.Remote
Assembly
OpenCAD2D.Remote.dll

ZoomObjects(IEnumerable<string>)

Zooms to objects, as ZOOM Object does: the box of the ones drawn in the space shown, fitted with a margin of 5 %; none drawn there leaves the view as it was.

public void ZoomObjects(IEnumerable<string> handles)

Parameters

handles IEnumerable<string>

The handles, or tickets of objects committed.

Exceptions

ArgumentNullException

Thrown when the handles are null.

CadRemoteException

Thrown when the drawing is closed or is not the drawing shown, or a handle is the ticket of an object not committed yet.