Platforms to show: All Mac Windows Linux Cross-Platform

Back to CTTextTabMBS class.

CTTextTabMBS.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
Whether this class is available.

Returns true in OS X v10.5 and later.

CTTextTabMBS.Create(alignment as Integer, location as Double, options as Dictionary = nil) as CTTextTabMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreText MBS MacCG Plugin 14.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates and initializes a new text tab object.

alignment: The tab's alignment. This is used to determine the position of text inside the tab column. This parameter must be set to a valid CTTextAlignment value or this function returns nil.
location: The tab's ruler location, relative to the back margin.
options: Options to pass in when the tab is created. Currently, the only option available is kCTTabColumnTerminatorsAttributeName. This parameter is optional and can be set to nil if not needed.
Return a reference to a CTTextTab object if the call was successful; otherwise, nil.
Available in OS X v10.5 and later.

CTTextTabMBS.kCTTabColumnTerminatorsAttributeName as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreText MBS MacCG Plugin 14.2 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the options keys.

Specifies the terminating character for a tab column.

The value associated with this attribute is a CFCharacterSet object. The character set is used to determine the terminating character for a tab column. The tab and newline characters are implied even if they don't exist in the character set. This attribute can be used to implement decimal tabs, for instance. This attribute is optional.

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


The biggest plugin in space...