ImageGear for C and C++ on Linux v18.8 - Updated
IG_PDF_font_translate_to_host
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_FONT > IG_PDF_font_translate_to_host

Translates a string from the hFont's encoding to host encoding.

Declaration:

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

Arguments:

Name Type Description
hFont HIG_PDF_FONT The font used in 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.