ImageGear Professional DLL v18.1 for Windows
IG_vect_textobj_get_textlength
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Text Object Functions > IG_vect_textobj_get_textlength

Glossary Item Box

This function gets a size of codepage text string assigned to the text object in bytes.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_textobj_get_textlength(
   HIG_VECT_TEXTOBJ hTextobj,
   long* lpLength
);

Arguments:

Name Type Description
hTextobj HIG_VECT_TEXTOBJ Handle to the Text Object.
lpLength long* Buffer to return the length of the text.

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 this function to determine the required size of the buffer for IG_vect_textobj_get_text function.

©2014. Accusoft Corporation. All Rights Reserved.