ImageGear for C and C++ on Linux v18.10 - Updated
IG_PDE_textitem_copy_text
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.

Declaration:

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

Arguments:

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.