AfterSpacing Property

A Single type property. Specifies the amount of space inserted after each paragraph in the shape's text block.

Applies to: Paragraph object

Syntax

[Let] singleRet = object.AfterSpacing

[Let] object.AfterSpacing = afterSpacingSet

The AfterSpacing property syntax has these parts:

Part Description
object Required. An expression that returns a Paragraph object.
singleRet Optional. A Single type variable.
afterSpacingSet Required. An expression that returns a Single value.

Remarks

The interval is specified in InternalUnit (internal units of measure of ConceptDraw).

The AfterSpacing property is also a table parameter of the shape, to which the object paragraph belongs. That is, its value can depend on a formula. To work with AfterSpacing as a table parameter, use the CDPT_PARA_AFTERSPACING constant tag.

Example

This example shows how to increase the spacing between the second and the third paragraphs. It assumes that there is a shape with at least three paragraphs of text on the current page.

Dim s as Shape
s = thisDoc.ActivePage.ShapeByID(1)
' Increase spacing between second and third paragraphs by 150 points s.Paragraph(2).AfterSpacing = 150 ' Inform ConceptDraw Engine about the changes to recalculate and redraw the document
s.PropertyChanged(CDPT_PARA_AFTERSPACING)

 

See Also

SetParaAfterSpacing method