MonobjcMonobjc Documented Class Library
GetUnitsPerEm Method (font)
NamespacesMonobjc.ApplicationServicesCGFontGetUnitsPerEm(IntPtr)

Returns the number of glyph space units per em for the provided font.

Original signature is 'int CGFontGetUnitsPerEm ( CGFontRef font );'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static int GetUnitsPerEm(
	IntPtr font
)
Public Shared Function GetUnitsPerEm ( _
	font As IntPtr _
) As Integer
public:
static int GetUnitsPerEm(
	IntPtr font
)
Parameters
font (IntPtr)
MISSING
Return Value
The number of glyph space units per em for the provided font.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)