ImageGear for C and C++ on Windows v21.0 - Updated
API Reference Guide / Vector Component API Reference / Vector Component Functions Reference / Vertex Container Object Functions / IG_vect_vertexcont_set_attrib
In This Topic
    IG_vect_vertexcont_set_attrib
    In This Topic

    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