Selects an entity of the CAD image at the specified point.

Namespace: CADImport
Assembly: CADImport (in CADImport.dll)

Public Function SelectExt( _ 
ByVal x As Integer, _ 
ByVal y As Integer, _ 
ByVal clearPrevSelection As Boolean, _ 
ByVal visualSelect As Boolean
) As CADEntity
This language is not supported or no code example is available.
public CADEntity SelectExt( 
int x
int y
bool clearPrevSelection
bool visualSelect 
)
This language is not supported or no code example is available.

Parameters

x

Type: int

An X coordinate of the point at which the entity to be selected is located.

y

Type: int

An Y coordinate of the point at which the entity to be selected is located.

clearPrevSelection

Type: bool

Clears selection of objects if true; adds to selected if false

visualSelect

Type: bool

Visual select entity

Return Value

A CADEntity located at the specified point, or null if nothing is located at the specified point.
The X and Y coordinates are measured in pixels. This method requires SelectionMode to be switched to be set.

Windows NT 4.0, Windows 98, Windows XP, Windows Server 2003, Windows Vista; Windows Server 2008 R2, Windows 7, WIndows10

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0 - 4, NET6

.NET Framework Client Profile

Supported in: 4, 3.5 SP1, NET6