Click or drag to resize

FontGetUnitsPerEm Method

Gets the units per em.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public short GetUnitsPerEm()

Return Value

Type: Int16
the number of font units per EM square for this face. This is typically 2048 for TrueType fonts, 1000 for Type1 fonts
Remarks
Only relevant for scalable formats (such as TrueType and Type1). This function is not applicable to Type3 font and will throw an exception. Use GetType3FontMatrix instead.
See Also