MonobjcMonobjc Documented Class Library
SetKeyEquivalentFontSize Method (fontName, fontSize)
NamespacesMonobjc.AppKitNSButtonCellSetKeyEquivalentFontSize(NSString, CGFloat)

Sets by name and size of the font used to draw the key equivalent.

Original signature is '- (void)setKeyEquivalentFont:(NSString *)fontName size:(CGFloat)fontSize'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetKeyEquivalentFontSize(
	NSString fontName,
	CGFloat fontSize
Public Overridable Sub SetKeyEquivalentFontSize ( _
	fontName As NSString, _
	fontSize As CGFloat _
virtual void SetKeyEquivalentFontSize(
	NSString^ fontName, 
	CGFloat fontSize
fontName (NSString)
The name of the font to use to draw the key equivalent.
fontSize (CGFloat)
The font size to use to draw the key equivalent.
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)