Platforms to show: All Mac Windows Linux Cross-Platform
Back to CTParagraphStyleMBS class.
CTParagraphStyleMBS.Available as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns true in OS X v10.5 and later.
CTParagraphStyleMBS.Create as CTParagraphStyleMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns a valid reference to an immutable CTParagraphStyle object, If the paragraph style creation was successful; otherwise, nil.
Using this function is the easiest and most efficient way to create a paragraph style. Paragraph styles should be kept immutable for totally lock-free operation. If an invalid paragraph style setting specifier is passed into the settings parameter, nothing bad will happen, but you will be unable to query for this value. The reason is to allow backward compatibility with style setting specifiers that may be introduced in future versions.
Available in OS X v10.5 and later.
See also:
CTParagraphStyleMBS.Create(settings() as CTParagraphStyleSettingMBS) as CTParagraphStyleMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreText | MBS MacCG Plugin | 14.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
settings: The settings with which to preload the paragraph style.
Returns a valid reference to an immutable CTParagraphStyle object, If the paragraph style creation was successful; otherwise, nil.
Using this function is the easiest and most efficient way to create a paragraph style. Paragraph styles should be kept immutable for totally lock-free operation. If an invalid paragraph style setting specifier is passed into the settings parameter, nothing bad will happen, but you will be unable to query for this value. The reason is to allow backward compatibility with style setting specifiers that may be introduced in future versions.
Available in OS X v10.5 and later.
See also:
CTParagraphStyleMBS.CreateWithAlignment(Alignment as Integer) as CTParagraphStyleMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreText | MBS MacCG Plugin | 15.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The items on this page are in the following plugins: MBS MacCG Plugin.