ImageGear for C and C++ on Windows v20.0 - Updated
IG_vect_drwng_get_selection
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Drawing Functions > IG_vect_drwng_get_selection

The function returns an entity container filled with previous call to IG_vect_drwng_find_selection() function.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_drwng_get_selection(
        HIG_VECT_DRWNG hDrwng,
        HIG_VECT_ENTITYCONT* lpEntitycont
);

Arguments:

Name Type Description
hDrwng HIG_VECT_DRWNG Handle to the Drawing.
lpEntitycont HIG_VECT_ENTITYCONT* Buffer for the handle to the entity container. If the entity has been found then the container includes the hierarchical structure of blocks with the entity being found on the top. If no entity has been found, the container is empty.

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

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