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_chars

Replaces characters in a text item.


Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_textitem_replace_chars (
        HIG_PDE_TEXTITEM hTextItem,
        UINT nCharIndex,
        LPBYTE lpNewChars,
        UINT nNewCharsLen


Name Type Description
hTextItem HIG_PDE_TEXTITEM The text item.
nCharIndex UINT Index position of the characters to replace.
lpNewChars LPBYTE Replacement text.
nNewCharsLen UINT Number of bytes to replace.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.


This function does not change the number of characters in the text item; extra characters are ignored.

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