TextBlock
Contents
[
Hide
]TextBlock class
Contains elements that specify the alignment, margins, and default tab stop positions of text in a shape’s text block.
Properties
| Name | Type | Description |
|---|---|---|
| Del | int | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| LeftMargin | DoubleValue | Specifies the distance between the left border of the text block and the text it contains. This value is independent of |
| RightMargin | DoubleValue | Specifies the distance between the right border of the text block and the text it contains. This value is independent of |
| TopMargin | DoubleValue | Specifies the distance between the top border of the text block and the first line of text it contains. |
| BottomMargin | DoubleValue | Determines the distance between the bottom border of the text block and the last line of text it contains. The default i |
| VerticalAlign | VerticalAlign | Specifies the vertical alignment of text within the text block. |
| TextBkgnd | ColorValue | Specifies the text background color for a shape. |
| DefaultTabStop | DoubleValue | Specifies the interval of the default tab stops in a text block. |
| TextDirection | TextDirection | Specifies the direction of the characters in a text block. |
| TextBkgndTrans | DoubleValue | Specifies the transparency level for the background color of a shape’s text block, from 0 (completely opaque) to 1 (comp |
Methods
| Name | Description |
|---|---|
| deepClone | Creates deep copy of this instance. |