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

The function creates new attribute specified by nAttrib and returns a pointer to the attribute being created.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_ent_create_attrib(
        HIG_VECT_ENTITY hEntity,
        enumIGVectAttrib nAttrib,
        VOID** lplpAttribPtr
);

Arguments:

Name Type Description
hEntity HIG_VECT_ENTITY Handle to the Entity.
nAttrib enumIGVectAttrib Attribute being created.
kpAttribPtr VOID** Buffer that receives a pointer or handle to the attribute. See IG_vect_ent_get_attrib() for description.

Supported Raster Image Formats:

This function does not process image pixels.

Return Value:

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

Sample:

None