Selects an entity on the CAD image and displays its properties in the properties window.

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

Public Shared Function DecodeEntity( _ 
ByVal node As TreeNode, _ 
ByVal img As CADImage, _ 
ByVal cl1 As Control, _ 
ByVal scale As Single
) As CADEntity
This language is not supported or no code example is available.
public static CADEntity DecodeEntity( 
TreeNode node
CADImage img
Control cl1
float scale 
)
This language is not supported or no code example is available.

Parameters

node

Type: TreeNode

A TreeNode object that represents the entity in the TreeView and clicking on which initializes selecting the entity on the CAD image.

img

Type: CADImage

A CADImage on which the entity to be selected is located.

cl1

Type: Control

A Control on which the CAD image is drawn.

scale

Type: float

A scale in which the CAD image is drawn.

Return Value

The selected CADEntity.

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