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_replace_text

Replaces all of the text in a text item.


Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_textitem_replace_text (
        HIG_PDE_TEXTITEM hTextItem,
        LPBYTE lpNewText,
        UINT nNewTextLen


Name Type Description
hTextItem HIG_PDE_TEXTITEM The text item.
lpNewText LPBYTE Replacement text.
nNewTextLen UINT Number of bytes to replace.

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.