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

Glossary Item Box

Gets the widths for a font object.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_font_get_widths(
        HIG_PDE_FONT hFont,
        LPSHORT lpWidths );

Arguments:

hFont PDE font whose widths are found.
lpWidths Pointer to widths array. lpWidths must have room for 256 values. The widths are returned in character space (1000 EM units). An EM is a typographic unit of measurement equal to the size of a font. To convert to text space, divide the value returned by 1000. To convert to user space, multiply the text space value by the font size.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

©2012. Accusoft Corporation. All Rights Reserved.