Gets the sum to the widths of nTextLen characters from a string of single or multi-byte characters.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_PDE_font_sum_widths( HIG_PDE_FONT hFont, LPBYTE lpText, LONG nTextLen, LPLONG lpnSum ); |
Arguments:
Name | Type | Description |
hFont | HIG_PDE_FONT | PDE font object. |
lpText | LPBYTE | Pointer into a string of characters. |
nTextLen | LONG | Number of characters in the string. |
lpnSum | LPLONG | Width of text string in EM space. (In EM space, the width of "M" is about 1000 EM units). |
Return Value:
Error count.
Supported Raster Image Formats:
This function does not process image pixels.