ImageGear Professional > 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.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_PDE_font_get_widths( HIG_PDE_FONT hFont, LPSHORT lpWidths ); |
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. |
Error count.
This function does not process image pixels.