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

Declaration:

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

Arguments:

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.

Remarks:

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