ImageGear for C and C++ on Linux v20.0 - Updated
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_TEXTITEM > IG_PDE_textitem_copy_text

Copies the text from a text item element into a character buffer.


Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_textitem_copy_text(
        HIG_PDE_TEXTITEM hTextItem,
        LPBYTE lpText, 
        UINT nTextLen,
        LPUINT lpnTextItemLen


Name Type Description
hTextItem HIG_PDE_TEXTITEM Text item object.
lpText LPBYTE A pointer to a buffer in which to store the copy.
nTextLen UINT Length of the text buffer, in bytes.
lpnTextItemLen LPUINT The length in bytes of hTextItem.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Is this page helpful?
Yes No
Thanks for your feedback.