RightInd Property

A Singe type property. The distance all lines of text in a paragraph are indented from the right margin of the text block.

Applies to: Paragraph object

Syntax

[Let] singleRet = object.RightInd

[Let] object.RightInd = rightIndSet

The RightInd property syntax has these parts:

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

Remarks

Indents are specified in internal ConceptDraw units (InternalUnit).

The RightInd property is also a table parameter of the shape that contains the object paragraph, that is, its value can be described by a formula. To work with RightInd as a table parameter, use the CDPT_PARA_RIGHTIND constant tag.

 

Example

This example demonstrates how to set a right indent for the second paragraph of a shape. It assumes there is a shape on the current page, and its text contains at least two paragraphs.

Dim s as Shape
s = thisDoc.ActivePage.ShapeByID(1)
' Move the second paragraph of by 100 points left from the right border of the text block. s.Paragraph(2).RightInd = 100 ' Inform ConceptDraw Engine about the changes for re-drawing.
s.PropertyChanged(CDPT_PARA_RIGHTIND)

 

See Also

SetParaRightInd method