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_FONT > IG_PDE_font_translate_glyphids_to_unicode

Translates a string to Unicode values.


Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_font_translate_glyphids_to_unicode(
        HIG_PDE_FONT hFont,
        LPBYTE lpText,
        LONG nTextLen,
        LPBYTE lpUniText,
        LONG nUniTextLen,
        LPLONG lpnResult 


Name Type Description
hFont HIG_PDE_FONT PDE font object.
lpText LPBYTE The string to convert.
nTextLen LONG The length of lpText, in bytes.
lpUniText LPBYTE Buffer to hold the translated string.
nUniTextLen LONG The size of the lpUniText buffer.
lpnResult LPLONG 0 if the string was successfully translated. If lpUniText is too small for the translated string, it returns the number of bytes required.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.


The PDE Font must have a /ToUnicode table.

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