The TextBlock object provides access to various text block properties of a ConceptDraw shape, such as the dimensions of the text block, background color, tab stop properties and more.
VAlign | Vertical alignment type of the text within the text block. |
TopMargin | The top margin of the text block. |
BottomMargin | The bottom margin of the text block. |
LeftMargin | The left margin of the text block. |
RightMargin | The right margin of the text block. |
TextBkgnd | Read-only. Text block background color. |
DefTabStop | The default tab stop distance from the left edge of the text block. |
AddTabStop | Adds a new tab stop to the tab stop collection of the text block. |
RemoveTabStop | Removes the specified tab stop and returns the number of remaining tab stops. |
TabStop | Returns a TabStop object corresponding to a tab stop with the specified index in the tab stop collection of the text block. |
TabStopsNum | Returns the number of tab stops in a text block. |
A text block is used to describe text properties of a ConceptDraw shape (TextBlock property (Shape object)). An instance of the TextBlock object is also contained in the document (DefTextBlock property) to describe the default text block settings for new shapes, and in a document style (TextBlock property (Style object)) to describe the text block settings applied to shapes when the style is assigned to them.
See Also |
Document object, Shape object, Style object, TabStop object |