ImageGear for C and C++ on Windows v20.3 - Updated
IG_vect_ent_get_selected
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Entity Functions > IG_vect_ent_get_selected

The function returns a flag indicating whether an entity is selected or not.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_ent_get_selected(
        HIG_VECT_ENTITY hEntity,
        VECT_BOOL* lpSelected
);

Arguments:

Name Type Description
hEntity HIG_VECT_ENTITY Handle to the Entity.
lpSelected VECT_BOOL* Buffer for the selection flag.

Return Value:

Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

None

Remarks:

Selected entity is displayed by the color that is set as selection color for the Drawing.

Is this page helpful?
Yes No
Thanks for your feedback.