Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items Next items

NSAttributedStringMBS.NSLeftMarginDocumentAttribute as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: One of the names for document wide attributes in a NSAttributedString.
Notes:
Number, containing a float, in points.
Mac OS X v10.3 and earlier string constant is "LeftMargin".
Available in Mac OS X v10.4 and later.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSLigatureAttributeName as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: One of the attribute names for NSAttributedString.
Notes:
Number containing integer
Default 1, standard ligatures; 0, no ligatures; 2, all ligatures.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSLinkAttributeName as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: One of the attribute names for NSAttributedString.
Notes:
NSURL (preferred) or string
Default nil, no link
Available in Mac OS X v10.0 and later.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSMacSimpleTextDocumentType as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: One of the values for the NSDocumentTypeDocumentAttribute key in the document attributes dictionary.
Notes: Macintosh SimpleText document.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSManagerDocumentAttribute as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: One of the names for document wide attributes in a NSAttributedString.
Notes:
string containing the name of the author's manager.
Available in Mac OS X v10.6 and later.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSMarkedClauseSegmentAttributeName as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: One of the attribute names for NSAttributedString.
Notes:
Number containing an integer, as an index in marked text indicating clause segments
Available in Mac OS X v10.5 and later.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSModificationTimeDocumentAttribute as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: One of the names for document wide attributes in a NSAttributedString.
Notes:
NSDate containing the modification date of the document contents.
Available in Mac OS X v10.4 and later.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSObliquenessAttributeName as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: One of the attribute names for NSAttributedString.
Notes:
Number containing floating point value, as skew to be applied to glyphs
Default 0.0, no skew
Available in Mac OS X v10.3 and later.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSOfficeOpenXMLTextDocumentType as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: One of the values for the NSDocumentTypeDocumentAttribute key in the document attributes dictionary.
Notes:
ECMA Office Open XML text document format.
Available in Mac OS X v10.5 and later.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSOpenDocumentTextDocumentType as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: One of the values for the NSDocumentTypeDocumentAttribute key in the document attributes dictionary.
Notes:
OASIS Open Document text document format.
Available in Mac OS X v10.5 and later.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSPaperSizeDocumentAttribute as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: One of the names for document wide attributes in a NSAttributedString.
Notes:
NSValue, containing NSSize.
Mac OS X v10.3 and earlier string constant is "PaperSize".
Available in Mac OS X v10.4 and later.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSParagraphStyleAttributeName as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: One of the attribute names for NSAttributedString.
Example:
// change line spacing in a Label

dim n as NSTextFieldMBS = Label1.NSTextFieldMBS
dim a as NSAttributedStringMBS = n.attributedStringValue

dim p as NSParagraphStyleMBS = a.attributeAtIndex(a.NSParagraphStyleAttributeName, 0)
dim m as NSMutableParagraphStyleMBS = p.mutableCopy
m.setLineSpacing 5

dim s as NSMutableAttributedStringMBS = a.mutableCopy
s.addAttribute(a.NSParagraphStyleAttributeName, m, new NSRangeMBS(0, s.length))

n.attributedStringValue = s
Notes:
NSParagraphStyle
Default as returned by the NSParagraphStyle method defaultParagraphStyle

Feedback, Comments & Corrections

NSAttributedStringMBS.NSPlainTextDocumentType as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: One of the values for the NSDocumentTypeDocumentAttribute key in the document attributes dictionary.
Notes: Plain text document.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSPrefixSpacesDocumentAttribute as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: One of the attribute names for NSAttributedString related to HTML generation.
Notes:
An Number containing an integer (default 0) representing the number of spaces per level by which to indent certain nested HTML elements.
Available in Mac OS X v10.4 and later.

NSPrefixSpacesDocumentAttribute allows some control over formatting.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSReadOnlyDocumentAttribute as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: One of the names for document wide attributes in a NSAttributedString.
Notes:
Number, containing int. If missing or 0 or negative, not read only; 1 or more, read only.
Note that this has nothing to do with the file system protection on the file, but instead can affect how the file should be displayed to the user.
Mac OS X v10.3 and earlier string constant is "ReadOnly".
Available in Mac OS X v10.4 and later.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSRightMarginDocumentAttribute as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: One of the names for document wide attributes in a NSAttributedString.
Notes:
Number, containing a float, in points.
Mac OS X v10.3 and earlier string constant is "RightMargin".
Available in Mac OS X v10.4 and later.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSRTFDTextDocumentType as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: One of the values for the NSDocumentTypeDocumentAttribute key in the document attributes dictionary.
Notes: Rich text format with attachments document.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSRTFTextDocumentType as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: One of the values for the NSDocumentTypeDocumentAttribute key in the document attributes dictionary.
Notes: Rich text format document.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSShadowAttributeName as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: One of the attribute names for NSAttributedString.
Notes:
NSShadow
Default nil, no shadow.
Available in Mac OS X v10.3 and later.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSSpellingStateAttributeName as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: One of the attribute names for NSAttributedString.
Notes:
An integer value. Defaults to 0, indicating no grammar or spelling error. See "NSSpellingStateAttributeName Flags" for possible values.
This key is available in Mac OS X v10.2 and later, but its interpretation changed in Mac OS X v10.5. Previously, any non-zero value caused the spelling indicator to be displayed. For Mac OS X v10.5 and later, the (integer) value is treated as being composed of the spelling and grammar flags.
Available in Mac OS X v10.5 and later.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSStrikethroughColorAttributeName as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: One of the attribute names for NSAttributedString.
Notes:
NSColor
Default nil, same as foreground color
Available in Mac OS X v10.3 and later.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSStrikethroughStyleAttributeName as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: One of the attribute names for NSAttributedString.
Example:
// underline selected text in TextArea1

dim t as NSTextViewMBS = TextArea1.NSTextViewMBS
dim s as NSTextStorageMBS = t.textStorage

const NSUnderlineStyleSingle = 1

dim d as Dictionary = t.selectedTextAttributes
d.Value(NSAttributedStringMBS.NSStrikethroughStyleAttributeName) = NSUnderlineStyleSingle
t.selectedTextAttributes = d
Notes:
Number containing integer
Default 0, no strikethrough. See "Underlining Patterns", "Underlining Styles", and "Underline Masks" in Apple Documentation for mask values.
Available in Mac OS X v10.3 and later.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSStrokeColorAttributeName as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: One of the attribute names for NSAttributedString.
Notes:
NSColor
Default nil, same as foreground color
Available in Mac OS X v10.3 and later.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSStrokeWidthAttributeName as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: One of the attribute names for NSAttributedString.
Notes:
Number containing floating point value, as percent of font point size
Default 0, no stroke; positive, stroke alone; negative, stroke and fill (a typical value for outlined text would be 3.0)
Available in Mac OS X v10.3 and later.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSSubjectDocumentAttribute as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: One of the names for document wide attributes in a NSAttributedString.
Notes:
string containing subject of document.
Available in Mac OS X v10.4 and later.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSSuperscriptAttributeName as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: One of the attribute names for NSAttributedString.
Notes:
Number containing integer
Default 0

Feedback, Comments & Corrections

NSAttributedStringMBS.NSTextAlternativesAttributeName as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 16.0 Yes No No Yes, macOS only No
Function: One of the attribute names.
Notes:
An NSTextAlternatives object. Used primarily as a temporary attribute, with primaryString equal to the substring for the range to which it is attached, and alternativeStrings representing alternatives for that string that may be presented to the user.
Available on OS X 10.8 and newer.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSTextEffectAttributeName as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 16.0 Yes No No Yes, macOS only No
Function: One of the attribute names.
Notes: NSString, default nil: no text effect

Feedback, Comments & Corrections

NSAttributedStringMBS.NSTextEffectLetterpressStyle as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 16.0 Yes No No Yes, macOS only No
Function: One of the text effect names.
Notes: Available on Mac OS X 10.10 or newer.

Feedback, Comments & Corrections

NSAttributedStringMBS.NSTextEncodingNameDocumentAttribute as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa MBS MacBase Plugin 11.3 Yes No No Yes, macOS only No
Function: One of the attribute names for NSAttributedString related to HTML generation.
Notes:
An string object containing the name, IANA or otherwise, of a text encoding to be used; mutually exclusive with NSCharacterEncodingDocumentAttribute.
Available in Mac OS X v10.4 and later.

Either NSCharacterEncodingDocumentAttribute or NSTextEncodingNameDocumentAttribute may be used to control the encoding used for generated HTML; character entities are used for characters not representable in the specified encoding.

Feedback, Comments & Corrections

Previous items Next items

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




Links
MBS FileMaker tutorial videos