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.