ImageGear for C and C++ on Windows v19.1 - Updated
IG_PDF_font_translate_to_ucs
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.

Declaration:

 
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
);

Arguments:

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.