MonobjcMonobjc Documented Class Library
DefaultLineHeightForFont Method (theFont)
NamespacesMonobjc.AppKitNSLayoutManagerDefaultLineHeightForFont(NSFont)

Returns the default line height for a line of text drawn using a given font.

Original signature is '- (CGFloat)defaultLineHeightForFont:(NSFont *)theFont'

Available in Mac OS X v10.2 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual CGFloat DefaultLineHeightForFont(
	NSFont theFont
)
Public Overridable Function DefaultLineHeightForFont ( _
	theFont As NSFont _
) As CGFloat
public:
virtual CGFloat DefaultLineHeightForFont(
	NSFont^ theFont
)
Parameters
theFont (NSFont)
The font for which to determine the default line height.
Return Value
The default line height for a line of text drawn using theFont.
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)