Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSParagraphStyleMBS class.
Alignment Modes
NSParagraphStyleMBS.NSCenterTextAlignment as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Text | MBS MacCocoa Plugin | 12.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Visually centered
NSParagraphStyleMBS.NSRightTextAlignment as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Text | MBS MacCocoa Plugin | 12.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Visually right aligned
NSParagraphStyleMBS.defaultParagraphStyle as NSParagraphStyleMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Text | MBS MacCocoa Plugin | 12.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The default paragraph style has the following default values:
Subattribute | Default Value |
Alignment | NSNaturalTextAlignment |
Tab stops | 12 left-aligned tabs, spaced by 28.0 points |
Line break mode | NSLineBreakByWordWrapping |
All others | 0.0 |
NSParagraphStyleMBS.defaultWritingDirectionForLanguage(languageName as string) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Text | MBS MacCocoa Plugin | 12.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
languageName: The language specified in ISO language region format. Can be nil to return a default writing direction derived from the user's defaults database.
The items on this page are in the following plugins: MBS MacCocoa Plugin.