ImageGear .NET v25.1 - Updated
GetSelection Method




ImageGear.Formats.Vector Assembly > ImageGear.Vector Namespace > ImGearVectorData Class : GetSelection Method
X device coordinate.
Y device coordinate.
Looks for the entity that corresponds to the specified device coordinates.
Syntax
'Declaration
 
Public Function GetSelection( _
   ByVal pointX As Integer, _
   ByVal pointY As Integer _
) As ImGearVectorEntityCont
'Usage
 
Dim instance As ImGearVectorData
Dim pointX As Integer
Dim pointY As Integer
Dim value As ImGearVectorEntityCont
 
value = instance.GetSelection(pointX, pointY)
public ImGearVectorEntityCont GetSelection( 
   int pointX,
   int pointY
)
public: ImGearVectorEntityCont* GetSelection( 
   int pointX,
   int pointY
) 
public:
ImGearVectorEntityCont^ GetSelection( 
   int pointX,
   int pointY
) 

Parameters

pointX
X device coordinate.
pointY
Y device coordinate.

Return Value

New instance of ImGearVectorEntityCont class.
Remarks
If the entity has been found, it is placed in the returned entity container together with all including blocks. If no entity has been found, the returned entity container is empty.
See Also

Reference

ImGearVectorData Class
ImGearVectorData Members