A Single type property. The distance the text inside the text block is offset from the left border of the text box.
Applies to: TextBlock object
[[Let] singleRet =] object.LeftMargin [Let] object.LeftMargin = leftMarginSet |
The LeftMargin property syntax has these parts:
Part | Description |
object | Required. An expression that returns a TextBlock object. |
singleRet | Optional. A Single type variable. |
leftMarginSet | Required. An expression that returns a Single value. |
The unit of measure for the LeftMargin property are internal ConceptDraw units (InternalUnit).
The LeftMargin property is also a table parameter of the shape which contains the object text block, that is, its value can be described by a formula. To work with LeftMargin as a table parameter, use the CDPT_LEFTMARGIN constant tag.
This example demonstrates how to increase the distance between the text and left border of the text block of an existing shape.
Dim s as Shape |