Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Cocoa Text | MBS MacBase Plugin | 22.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
A text block appears as an attribute of a paragraph, and as part of the paragraph style. The most important subclass of NSTextBlockMBS is NSTextTableBlockMBS, which represents a block of text that appears as a cell in a table. The table itself is a NSTextTable object. All NSTextBlockMBS objects reference this table, which controls their sizing and positioning.
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. |
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. |
Constant | Value | Description |
---|---|---|
ValueTypeAbsolute | 0 |
Absolute value in points. |
ValueTypePercentage | 1 |
Percentage value (out of 100). |
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. |
The items on this page are in the following plugins: MBS MacBase Plugin.
NSTextAttachmentMBS - NSTextCheckingResultMBS