A Single type property. The amount of space inserted before each paragraph in the shape's text block.
Applies to: Paragraph object
[Let] singleRet = object.BeforeSpacing [Let] object.BeforeSpacing = beforeSpacingSet |
The BeforeSpacing property syntax has these parts:
Part | Description |
object | Required. An expression that returns a Paragraph object. |
singleRet | Optional. A Single type variable. |
beforeSpacingSet | Required. An expression that returns a Single value. |
The interval is specified in InternalUnit (internal units of measure of ConceptDraw).
The BeforeSpacing property is also a table parameter of the shape, to which the object paragraph belongs. That is, its value can be defined by a formula. To work with BeforeSpacing as a table parameter, use the CDPT_PARA_BEFORESPACING constant tag.
This example shows how to increase the spacing between the first and the second paragraphs. It assumes that there is a shape with at least three paragraphs of text on the current page.
Dim s as Shape |
See Also |
SetParaBeforeSpacing method |