Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSAttributedStringMBS class.

NSAttributedStringMBS.containsAttachments as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Text MBS MacBase Plugin 9.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Whether this attributed string has attachments.

(Read only property)

NSAttributedStringMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Text MBS MacBase Plugin 12.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The internal object reference.

Must not be nil to have the object being valid.
(Read and Write property)

NSAttributedStringMBS.length as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Text MBS MacBase Plugin 7.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Length of text in characters.
Example
dim n as NSAttributedStringMBS

n=new NSAttributedStringMBS
if n.initWithString("test") then
MsgBox str(n.length) // shows 4
else
MsgBox "failed"
end if

(Read only property)

NSAttributedStringMBS.Range as NSRangeMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Text MBS MacBase Plugin 18.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates range for whole text.

(Read only property)

NSAttributedStringMBS.text as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Text MBS MacBase Plugin 7.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The plain text.

(Read only property)

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


The biggest plugin in space...