LeftInd Property

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

Applies to: Paragraph object

Syntax

[Let] singleRet = object.LeftInd

[Let] object.LeftInd = leftIndSet

The LeftInd property syntax has these parts:

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

Remarks

Indents are specified in internal ConceptDraw units (InternalUnit).

The LeftInd 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 LeftInd as a table parameter, use the CDPT_PARA_LEFTIND constant tag.

Example

This example demonstrates how to set a left 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 right from the left border of the text block. s.Paragraph(2).LeftInd = 100 ' Inform ConceptDraw Engine about the changes for re-drawing.
s.PropertyChanged(CDPT_PARA_LEFTIND)

 

See Also

SetParaLeftInd method