MonobjcMonobjc Documented Class Library
AddCollectionOptions Method (collectionName, collectionOptions)
NamespacesMonobjc.AppKitNSFontManagerAddCollectionOptions(NSString, NSInteger)

Adds a specified font collection to the font manager with a given set of options.

Original signature is '- (BOOL)addCollection:(NSString *)collectionName options:(NSInteger)collectionOptions'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool AddCollectionOptions(
	NSString collectionName,
	NSInteger collectionOptions
)
Public Overridable Function AddCollectionOptions ( _
	collectionName As NSString, _
	collectionOptions As NSInteger _
) As Boolean
public:
virtual bool AddCollectionOptions(
	NSString^ collectionName, 
	NSInteger collectionOptions
)
Parameters
collectionName (NSString)
The collection to add.
collectionOptions (NSInteger)
The option described in “Font Collection Mask”. This option is not yet implemented.
Return Value
YES if the font collection was successfully added; otherwise, NO.
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)