ImageGear for C and C++ on Linux v20.0 - Updated
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_FONT > IG_PDF_font_translate_to_ucs

Translates a string from whatever encoding the hFont uses to Unicode encoding.


Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_font_translate_to_ucs(
        HIG_PDF_FONT hFont,
        LPSTR inP,
        LONG inLen,
        LPSTR outP,
        LONG outLen,
        LPLONG lpLen


Name Type Description
hFont HIG_PDF_FONT The font of the input string inP.
inP LPSTR The pointer to the string to translate.
inLen LONG The length of the inP buffer, in bytes.
outP LPSTR The pointer to the translated string.
outLen LONG The length of the outP buffer, in bytes.
lpLen LPLONG The number of bytes in the translated string outP.

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.