ImageGear for C and C++ on Windows v20.0 - Updated
IG_PDE_textitem_replace_text
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.

Declaration:

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

Arguments:

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.