MonobjcMonobjc Documented Class Library
SetFont Method (fontObj)

Sets the font used to display the button's title and alternate title.

Original signature is '- (void)setFont:(NSFont *)fontObj'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetFont(
	NSFont fontObj
Public Overridable Sub SetFont ( _
	fontObj As NSFont _
virtual void SetFont(
	NSFont^ fontObj
fontObj (NSFont)
The font object specifying the font to use.
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)