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

    This function gets a codepage text string assigned to the text object.

    Declaration:

     
    Copy Code
    AT_ERRCOUNT ACCUAPI IG_vect_textobj_get_text(
            HIG_VECT_TEXTOBJ hTextobj, 
            LPCHAR lpText, 
            long nSize
    );
    

    Arguments:

    Name Type Description
    hTextobj HIG_VECT_TEXTOBJ Handle to the Text Object.
    lpText LPCHAR Buffer for the text string.
    nSize long Size of the buffer in bytes. See Remarks.

    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

    Remarks:

    Call IG_vect_textobj_get_textlength to get required buffer size.