ImageGear Professional DLL v17.1 for Windows Accusoft
IG_PDE_font_translate_glyphids_to_unicode
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > 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

Glossary Item Box

Translates a string to Unicode values.

Declaration:

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

Arguments:

hFont PDE font object.
lpText The string to convert.
nTextLen The length of lpText, in bytes.
lpUniText Buffer to hold the translated string.
nUniTextLen The size of the lpUniText buffer.
lpnResult 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.

Remarks:

The PDE Font must have a /ToUnicode table.

©2012. Accusoft Corporation. All Rights Reserved.