Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSFontManagerMBS class.

NSFontManagerMBS.NSAddTraitFontAction = 2

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 9.8
One of the constants for use with modifyFont method.

Converts the font to have an additional trait using convertFonttoHaveTrait.

NSFontManagerMBS.NSBoldFontMask = 2

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 9.8
One of the constants for use with mask of traits assigned to a font.
Example
dim n as new NSFontManagerMBS
dim names() as string = n.availableFontNamesWithTraits(n.NSBoldFontMask)

MsgBox str(UBound(names)+1)+" fonts: "+Join(names,", ")

A mask that specifies a bold font.

NSFontManagerMBS.NSCompressedFontMask = &h00000200

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 9.8
One of the constants for use with mask of traits assigned to a font.

A mask that specifies a compressed font.

NSFontManagerMBS.NSCondensedFontMask = &h00000040

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 9.8
One of the constants for use with mask of traits assigned to a font.

A mask that specifies a condensed font.

NSFontManagerMBS.NSExpandedFontMask = &h00000020

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 9.8
One of the constants for use with mask of traits assigned to a font.

A mask that specifies an expanded font.

NSFontManagerMBS.NSFixedPitchFontMask = &h00000400

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 9.8
One of the constants for use with mask of traits assigned to a font.

A mask that specifies a fixed pitch font.

NSFontManagerMBS.NSFontCollectionApplicationOnlyMask = 1

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 9.8
One of the constants for options accepted by addCollection.

akes the collection available only to the application. This option is not yet implemented.

NSFontManagerMBS.NSHeavierFontAction = 5

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 9.8
One of the constants for use with modifyFont method.

Converts the font to a heavier weight using convertWeightofFont.

NSFontManagerMBS.NSItalicFontMask = 1

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 9.8
One of the constants for use with mask of traits assigned to a font.

A mask that specifies an italic font.

NSFontManagerMBS.NSLighterFontAction = 6

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 9.8
One of the constants for use with modifyFont method.

Converts the font to a lighter weight using convertWeightofFont.

NSFontManagerMBS.NSNarrowFontMask = &h00000010

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 9.8
One of the constants for use with mask of traits assigned to a font.

A mask that specifies a narrow font.

NSFontManagerMBS.NSNoFontChangeAction = 0

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 9.8
One of the constants for use with modifyFont method.

No action; the font is returned unchanged.

NSFontManagerMBS.NSNonStandardCharacterSetFontMask = 8

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 9.8
One of the constants for use with mask of traits assigned to a font.

A mask that specifies a font that uses a non-standard character set.

NSFontManagerMBS.NSPosterFontMask = &h00000100

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 9.8
One of the constants for use with mask of traits assigned to a font.

A mask that specifies a poster-style font.

NSFontManagerMBS.NSRemoveTraitFontAction = 7

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 9.8
One of the constants for use with modifyFont method.

Converts the font to remove a trait using convertFonttoNotHaveTrait.

NSFontManagerMBS.NSSizeDownFontAction = 4

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 9.8
One of the constants for use with modifyFont method.

Converts the font to a smaller size using convertFonttoSize.

NSFontManagerMBS.NSSizeUpFontAction = 3

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 9.8
One of the constants for use with modifyFont method.

Converts the font to a larger size using convertFonttoSize.

NSFontManagerMBS.NSSmallCapsFontMask = &h00000080

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 9.8
One of the constants for use with mask of traits assigned to a font.

A mask that specifies a small-caps font.

NSFontManagerMBS.NSUnboldFontMask = 4

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 9.8
One of the constants for use with mask of traits assigned to a font.

A mask that specifies a font that is not bold.

NSFontManagerMBS.NSUnitalicFontMask = &h01000000

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 9.8
One of the constants for use with mask of traits assigned to a font.

A mask that specifies a font that is not italic.

NSFontManagerMBS.NSViaPanelFontAction = 1

Type Topic Plugin Version
const Cocoa MBS MacCocoa Plugin 9.8
One of the constants for use with modifyFont method.

Converts the font according to the NSFontPanel method panelConvertFont.

The items on this page are in the following plugins: MBS MacCocoa Plugin.


The biggest plugin in space...