MonobjcMonobjc Documented Class Library
SystemFontOfSize Method (fontSize)
NamespacesMonobjc.AppKitNSFontSystemFontOfSize(CGFloat)

Returns the Aqua system font used for standard interface items, such as button labels, menu items, and so on, in the specified size.

Original signature is '+ (NSFont *)systemFontOfSize:(CGFloat)fontSize'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSFont SystemFontOfSize(
	CGFloat fontSize
)
Public Shared Function SystemFontOfSize ( _
	fontSize As CGFloat _
) As NSFont
public:
static NSFont^ SystemFontOfSize(
	CGFloat fontSize
)
Parameters
fontSize (CGFloat)
The size in points to which the font is scaled.
Return Value
A font object of the specified size.
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)