ImageGear for C and C++ on Windows v19.10 - Updated
IG_PDE_textitem_get_text_length
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_TEXTITEM > IG_PDE_textitem_get_text_length

Gets the text length for a text item.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_textitem_get_text_length(
        HIG_PDE_TEXT hTextItem,
        LPLONG lpnLength 
);

Arguments:

Name Type Description
hTextItem HIG_PDE_TEXTITEM Text item whose length is obtained.
lpnLength LPLONG The text length, in bytes.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.