ImageGear for C and C++ on Windows v19.1 - Updated
IG_vect_insertion_get_blockref
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Insertion Functions > IG_vect_insertion_get_blockref

This function gets the handle of the block attached to the insertion.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_insertion_get_blockref(
        HIG_VECT_ENTITY hEntity, 
        HIG_VECT_ENTITY* lpBlockRef
);

Arguments:

Name Type Description
hEntity HIG_VECT_ENTITY Insertion entity handle.
lpBlockRef HIG_VECT_ENTITY* Buffer for the block handle.

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