Platforms to show: All Mac Windows Linux Cross-Platform
CFAttributedStringMBS class
Super class: CFObjectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | CoreFoundation | MBS MacCF Plugin | 10.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Subclass of the CFObjectMBS class.
- property Length as Integer
- 12 methods
- method AsNSAttributedString as Variant
- method AttributeAndLongestEffectiveRange(location as Integer, attrName as CFStringMBS, inRange as CFRangeMBS, byref effectiveRange as CFRangeMBS) as CFObjectMBS
- method AttributesAndLongestEffectiveRange(location as Integer, inRange as CFRangeMBS, byref effectiveRange as CFRangeMBS) as CFDictionaryMBS
- method AttributesDictionary(location as Integer, byref effectiveRange as CFRangeMBS) as CFDictionaryMBS
- method AttributeValue(location as Integer, attrName as CFStringMBS, byref effectiveRange as CFRangeMBS) as CFObjectMBS
- method Constructor(str as CFAttributedStringMBS, range as CFRangeMBS)
- method Constructor(str as CFStringMBS, attributeDictionary as CFDictionaryMBS = nil)
- method Copy as CFAttributedStringMBS
- method MutableCopy(maxLength as Integer = 0) as CFAttributedStringMBS
- method String as CFStringMBS
- 2 shared methods
- shared method Create(str as CFStringMBS, attributeDictionary as CFDictionaryMBS = nil) as CFAttributedStringMBS
- shared method CreateWithSubstring(str as CFAttributedStringMBS, range as CFRangeMBS) as CFAttributedStringMBS
Super class CFObjectMBS
- 5 properties
- property Handle as Integer
- property Hash as Integer
- property Lasterror as Integer
- property Type as Integer
- property TypeDescription as String
- 9 methods
- method close
- method DeepCopy as CFObjectMBS
- method EncodedData as MemoryBlock
- method Equal(o as CFObjectMBS) as boolean
- method ReleaseObject
- method RetainCount as Integer
- method RetainObject
- method XML as CFBinaryDataMBS
- method XMLdata as String
- shared method NewCFObject(handle as Integer) as CFObjectMBS
Sub classes:
Some methods using this class:
- CFMutableAttributedStringMBS.Constructor(str as CFAttributedStringMBS, range as CFRangeMBS)
- CTFramesetterMBS.CreateWithAttributedString(s as CFAttributedStringMBS) as CTFramesetterMBS
- CTLineMBS.CreateWithAttributedString(s as CFAttributedStringMBS) as CTLineMBS
- CTTypesetterMBS.CreateWithAttributedString(s as CFAttributedStringMBS) as CTTypesetterMBS
- CTTypesetterMBS.CreateWithAttributedString(s as CFAttributedStringMBS, options as dictionary) as CTTypesetterMBS
Some examples using this class:
- /MacCG/Attributed String print
- /MacCG/CoreText/CoreText Dynamic Text Height
- /MacCG/CoreText/CoreText Test
Blog Entries
- MBS Xojo / Real Studio Plugins, version 14.2pr9
- MBS Plugins 10.3 Release Notes
- MBS REALbasic Plugins, version 10.3pr8
The items on this page are in the following plugins: MBS MacCF Plugin.