ImageGear Professional for Unix
IG_PDE_font_translate_glyphids_to_unicode

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:

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.

Remarks:

The PDE Font must have a /ToUnicode table.

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback