ImageGear for C and C++ on Windows v19.1 - Updated
IG_vect_vertexcont_set_attrib
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Vertex Container Object Functions > IG_vect_vertexcont_set_attrib

This function sets an attribute for the vertex.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_vertexcont_set_attrib(
        HIG_VECT_VERTEXCONT hVertexcont, 
        IGVectVertex* lpVertex,
        enumIGVectVertexData nAttribType, 
        FLOAT fAttrib
);

Arguments:

Name Type Description
hVertexcont HIG_VECT_VERTEXCONT Handle to the Vertex Container.
lpVertex IGVectVertex* Pointer to the vertex.
nAttribType enumIGVectVertexData Type of the attribute.
fAttrib FLOAT Attribute value.

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