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

This function attaches the block to the insertion.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_insertion_set_blockref(
        HIG_VECT_ENTITY hEntity, 
        HIG_VECT_ENTITY hBlockRef
);

Arguments:

Name Type Description
hEntity HIG_VECT_ENTITY Insertion entity handle.
hBlockRef HIG_VECT_ENTITY Handle of the block to be attached to the insertion.

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