ImageGear Professional DLL v17.1 for Windows Accusoft
IG_PDE_font_sum_widths
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_sum_widths

Glossary Item Box

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.

©2012. Accusoft Corporation. All Rights Reserved.