These constants specify what action modifyFont: will take.
Available in Mac OS X v10.0 and later.
C# | Visual Basic | Visual C++ |
public enum NSFontAction
Public Enumeration NSFontAction
public enum class NSFontAction
Member | Description |
---|---|
NSNoFontChangeAction | No action; the font is returned unchanged. Available in Mac OS X v10.0 and later. |
NSViaPanelFontAction | Converts the font according to the NSFontPanel method panelConvertFont:. Available in Mac OS X v10.0 and later. |
NSAddTraitFontAction | Converts the font to have an additional trait using convertFont:toHaveTrait:. Available in Mac OS X v10.0 and later. |
NSSizeUpFontAction | Converts the font to a larger size using convertFont:toSize:. Available in Mac OS X v10.0 and later. |
NSSizeDownFontAction | Converts the font to a smaller size using convertFont:toSize:. Available in Mac OS X v10.0 and later. |
NSHeavierFontAction | Converts the font to a heavier weight using convertWeight:ofFont:. Available in Mac OS X v10.0 and later. |
NSLighterFontAction | Converts the font to a lighter weight using convertWeight:ofFont:. Available in Mac OS X v10.0 and later. |
NSRemoveTraitFontAction | Converts the font to remove a trait using convertFont:toNotHaveTrait:. Available in Mac OS X v10.0 and later. |
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)