ImageGear for C and C++ on Windows v21.0 - Updated
API Reference Guide / Vector Component API Reference / Vector Component Functions Reference / Font Functions / IG_vect_font_get_weight
In This Topic
    IG_vect_font_get_weight
    In This Topic

    The function returns the font weight.

    Declaration:

     
    Copy Code
    AT_ERRCOUNT ACCUAPI IG_vect_font_get_weight(
            HIG_VECT_FONT hFont, 
            LONG* lpWeight
    );
    

    Arguments:

    Name Type Description
    hFont HIG_VECT_FONT Handle to the font.
    lpWeight LONG* Font weight being returned.

    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