Table of Contents

Method SelectCrossingWindow

Namespace
OpenCAD2D.Remote
Assembly
OpenCAD2D.Remote.dll

SelectCrossingWindow(GeoPoint2, GeoPoint2)

Takes the objects a window lies across or contains, as the Crossing option of "Select objects:" does, held to the view as SelectWindow(GeoPoint2, GeoPoint2) is. The objects the user has selected stay selected.

public IReadOnlyList<DxfEntity> SelectCrossingWindow(GeoPoint2 first, GeoPoint2 second)

Parameters

first GeoPoint2

One corner.

second GeoPoint2

The opposite corner.

Returns

IReadOnlyList<DxfEntity>

Copies of the objects as GetObjects(CadObjectFilter) gives them.

Exceptions

CadRemoteException

Thrown when the drawing is closed.