Platforms to show: All Mac Windows Linux Cross-Platform

NSTextTableMBS class

Super class: NSTextBlockMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Cocoa Text MBS MacBase Plugin 22.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
An object that represents a text table as a whole.

A text table is responsible for laying out and drawing the text table blocks it contains, and it maintains the basic parameters of the table.
Subclass of the NSTextBlockMBS class.

Text table layout algorithm

Constant Value Description
LayoutAlgorithmAutomatic 0 Specifies automatic layout algorithm
LayoutAlgorithmFixed 1 Specifies fixed layout algorithm

Super class NSTextBlockMBS

Dimension

Constant Value Description
DimensionHeight 4 Height of the text block.
DimensionMaximumHeight 6 Maximum height of the text block.
DimensionMaximumWidth 2 Maximum width of the text block.
DimensionMinimumHeight 5 Minimum height of the text block.
DimensionMinimumWidth 1 Minimum width of the text block.
DimensionWidth 0 Width of the text block.

Layer

Constant Value Description
LayerBorder 0 The border of the text block.
LayerMargin 1 Margin of the text block: space surrounding the border.
LayerPadding -1 Padding of the text block: space surrounding the content area extending to the border.

Value Types

Constant Value Description
ValueTypeAbsolute 0 Absolute value in points.
ValueTypePercentage 1 Percentage value (out of 100).

Vertical Alignment

Constant Value Description
VerticalAlignmentBaseline 3 Aligns adjacent blocks at the baseline of the first line of text in the block.
VerticalAlignmentBottom 2 Aligns adjacent blocks at their bottom.
VerticalAlignmentMiddle 1 Aligns adjacent blocks at their middle.
VerticalAlignmentTop 0 Aligns adjacent blocks at their top.

This class has no sub classes.

Some methods using this class:

Some properties using for this class:

Blog Entries

Release notes


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


NSTextTableBlockMBS   -   NSTextTabMBS


The biggest plugin in space...