MonobjcMonobjc Documented Class Library
SetFont Method (fontObj)
NamespacesMonobjc.AppKitNSActionCellSetFont(NSFont)

Sets the font to be used when the receiver displays text. (Available in Mac OS X v10.0 through Mac OS X v10.5.)

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 _
)
public:
virtual void SetFont(
	NSFont^ fontObj
)
Parameters
fontObj (NSFont)
The font object encapsulating information about the new font. If fontObj is nil and the receiver is a text-type cell, the font object currently held by the receiver is autoreleased.
Version Information
  • Available in Monobjc Bridge: 10.5 (For Mac OS X 10.5 and later)

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