ImageGear Professional DLL v18.1 for Windows
IG_PDE_font_sum_widths
Send Feedback
ImageGear Professional v18.1 > 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:

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.

©2014. Accusoft Corporation. All Rights Reserved.