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:
| hFont | PDE font object. |
| lpText | Pointer into a string of characters. |
| nTextLen | Number of characters in the string. |
| lpnSum | 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.
