Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSAttributedStringMBS class.
NSAttributedStringMBS.NSTopMarginDocumentAttribute as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Text | MBS MacBase Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Number, containing a float, in points.
Mac OS X v10.3 and earlier string constant is "TopMargin".
Available in Mac OS X v10.4 and later.
NSAttributedStringMBS.NSUnderlineColorAttributeName as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Text | MBS MacBase Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSColor
Default nil, same as foreground color
Available in Mac OS X v10.3 and later.
NSAttributedStringMBS.NSUnderlineStyleAttributeName as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Text | MBS MacBase Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Number containing integer
Default 0, no underline. See "Underlining Patterns", "Underlining Styles", and "Underline Masks" in Apple Documentation for mask values.
NSAttributedStringMBS.NSVerticalGlyphFormAttributeName as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Text | MBS MacBase Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
An Number containing an integer value, 0 means horizontal text and 1 indicates vertical text. If no value specified, it's interpreted to determine the setting based on higher-level vertical orientation settings such as NSTextLayoutOrientation . The behavior for any other value is undefined.
Available in Mac OS X v10.7 and later.
NSAttributedStringMBS.NSViewModeDocumentAttribute as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Text | MBS MacBase Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSValue, containing an int; 0 = normal; 1 = page layout (use value of "PaperSize").
Mac OS X v10.3 and earlier string constant is "ViewMode".
Available in Mac OS X v10.4 and later.
NSAttributedStringMBS.NSViewSizeDocumentAttribute as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Text | MBS MacBase Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSValue, containing NSSize.
Mac OS X v10.3 and earlier string constant is "ViewSize".
Available in Mac OS X v10.4 and later.
NSAttributedStringMBS.NSViewZoomDocumentAttribute as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Text | MBS MacBase Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Mac OS X v10.3 and earlier string constant is "ViewZoom".
NSValue, containing a float; 100 = 100% zoom.
Available in Mac OS X v10.4 and later.
NSAttributedStringMBS.NSWebArchiveTextDocumentType as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Text | MBS MacBase Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Web Kit WebArchive document.
NSAttributedStringMBS.NSWebPreferencesDocumentOption as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Text | MBS MacBase Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
WebPreferences; for HTML only, specifies a WebPreferences object. If not present, a default set of preferences is used. Previous string constant was @"WebPreferences".
Available in Mac OS X v10.4 and later.
NSAttributedStringMBS.NSWebResourceLoadDelegateDocumentOption as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Text | MBS MacBase Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
WebResourceLoadDelegateMBS; for HTML only, specifies an object to serve as the web resource loading delegate.
If not present, a default delegate is used that permits the loading of subsidiary resources but does not respond to authentication challenges. Previous string constant was @"WebResourceLoadDelegate".
Available in Mac OS X v10.4 and later.
NSAttributedStringMBS.NSWordMLTextDocumentType as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Text | MBS MacBase Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Microsoft Word XML (WordML schema) document.
NSAttributedStringMBS.NSWritingDirectionAttributeName as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Text | MBS MacBase Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
An Array of Numbers.
This provides a means to override the default bidi algorithm, equivalent to the use of bidi control characters LRE, RLE, LRO, or RLO paired with PDF, as a higher-level attribute. This is the NSAttributedString equivalent of HTML's dir attribute and/or BDO element. The array represents nested embeddings or overrides, in order from outermost to innermost. The values of the Numbers should be 0, 1, 2, or 3, for LRE, RLE, LRO, or RLO respectively; these should be regarded as NSWritingDirectionLeftToRight or NSWritingDirectionRightToLeft plus NSTextWritingDirectionEmbedding or NSTextWritingDirectionOverride.
Available in Mac OS X v10.6 and later.
The items on this page are in the following plugins: MBS MacBase Plugin.