FirstInd Property

A Single type property. Determines the first line indent for this paragraph.

Applies to: Paragraph object

Syntax

[Let] singleRet = object.FirstInd

[Let] object.FirstInd = firstIndSet

The FirstInd property syntax has these parts:

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

Remarks

The distance for the first line indent is specified in the internal ConceptDraw units (InternalUnit).

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

Example

This example demonstrates how to set a 1 cm indent for the first line of the paragraph in the shape. It assumes that a shape containing text exists on the current page.

Dim s as Shape
s = thisDoc.ActivePage.ShapeByID(1)
' Set indent in the first line of the text block's first paragraph. s.Paragraph(1).FirstInd = 100 ' Inform ConceptDraw Engine about changes for re-drawing
s.PropertyChanged(CDPT_PARA_FIRSTIND)

 

See Also

SetParaFirstInd method