MonobjcMonobjc Documented Class Library
NSFontManager..::..FontManagerWillIncludeFontEventHandler Delegate
NamespacesMonobjc.AppKitNSFontManagerNSFontManager..::..FontManagerWillIncludeFontEventHandler

Requests permission from the Font panel delegate to display the given font name in the Font panel.

Original signature is '- (BOOL)fontManager:(id)theFontManager willIncludeFont:(NSString *)fontName'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate bool FontManagerWillIncludeFontEventHandler(
	Id theFontManager,
	NSString fontName
)
Public Delegate Function FontManagerWillIncludeFontEventHandler ( _
	theFontManager As Id, _
	fontName As NSString _
) As Boolean
public delegate bool FontManagerWillIncludeFontEventHandler(
	Id^ theFontManager, 
	NSString^ fontName
)
Parameters
theFontManager (Id)
The font manager making the request.
fontName (NSString)
The full PostScript name of the font to display, such as Helvetica-BoldOblique or Helvetica-Narrow-Bold.
Return Value
If the Font panel delegate returns YES, fontName is listed; if the delegate returns NO, it isn’t.
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)