MonobjcMonobjc Documented Class Library
GetXHeight Method (font)
NamespacesMonobjc.ApplicationServicesCGFontGetXHeight(IntPtr)

Returns the x-height of a font.

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

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static int GetXHeight(
	IntPtr font
)
Public Shared Function GetXHeight ( _
	font As IntPtr _
) As Integer
public:
static int GetXHeight(
	IntPtr font
)
Parameters
font (IntPtr)
MISSING
Return Value
The x-height of the 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)