API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Drawing Functions > IG_vect_drwng_find_selection |
The function looks for the entity that corresponds to the device coordinates nX and nY.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_drwng_find_selection( HIG_VECT_DRWNG hDrwng, long nX, long nY ); |
Name | Type | Description |
---|---|---|
hDrwng | HIG_VECT_DRWNG | Handle to the Drawing. |
nX | long | X device coordinate. |
nY | long | Y device coordinate. |
Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.
This function does not process image pixels.
None
If the entity has been found, it is placed in the internal entity container together with all included blocks. The user can get a handle to this container from the function IG_vect_drwng_get_selection(). If no entity has been found, the entity container is empty.