|Type||Topic||Plugin||Version||macOS||Windows||Linux||Console & Web||iOS|
|class||Cocoa||MBS MacCocoa Plugin||12.4||Yes||No||No||Yes, macOS only||No|
NSTextTab objects are most frequently used with the Application Kit's text system and with NSRulerView and NSRulerMarker objects. See the appropriate class specifications for more information on these uses.
The text system supports four alignment types: left, center, right, and decimal (based on the decimal separator character of the locale in effect). These alignment types are absolute, not based on the line sweep direction of text. For example, tabbed text is always positioned to the left of a right-aligned tab, whether the line sweep direction is left to right or right to left. A tab's location, on the other hand, is relative to the back margin. A tab set at 1.5", for example, is at 1.5" from the right in right to left text.
- 5 properties
- 4 methods
- 4 constants
Tab Stop Types
A center-aligned tab stop.
Aligns columns of numbers by the decimal point.
A left-aligned tab stop.
A right-aligned tab stop.
This class has no sub classes.
Some methods using this class:
- NSMutableParagraphStyleMBS.addTabStop(tabstop as NSTextTabMBS)
- NSMutableParagraphStyleMBS.removeTabStop(tabstop as NSTextTabMBS)
- NSMutableParagraphStyleMBS.setTabStops(tabStops() as NSTextTabMBS)
- NSParagraphStyleMBS.tabStops as NSTextTabMBS()
Some properties using for this class:
- NSParagraphStyleMBS.firstTabStop as NSTextTabMBS
Some examples which use this class:
The items on this page are in the following plugins: MBS MacCocoa Plugin.
MBS Xojo Chart Plugins