ImageGear for C and C++ on Windows v20.5 - Updated
IG_PDE_font_get_widths
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_FONT > IG_PDE_font_get_widths

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:

Name Type Description
hFont HIG_PDE_FONT PDE font whose widths are found.
lpWidths LPSHORT 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.

Is this page helpful?
Yes No
Thanks for your feedback.