SetParaFirstInd Method

Sets the first line indent for the specified paragraph of the shape.

Applies to: Shape object

Syntax

object.SetParaFirstInd ( iFrom, iTo, FirstInd )

The SetParaFirstInd method syntax has these parts:

Part Description
object Required. An expression that returns a Shape object.
iFrom Required. An expression that returns a Long value. The index of the first character of the paragraph.
iTo Required. An expression that returns a Long value. The index of the last character of the paragraph.
FirstInd Required. An expression that returns a Single value. The first line indent value for the paragraph.

Remarks

Note, that if the paragraph collection of the shape doesn't contain the paragraph that corresponds to the character sequence within the iFrom to iTo range, the SetParaFirstInd method adds a new paragraph and applies the specified first line indent to it.

If the iFrom and iTo parameters were specified incorrectly, no changes are made. The first line indent size is measured in internal units (InternalUnit).

 

 

See Also

GetParagraphIndex method, Paragraph method, ParagraphsNum method, RemoveParagraph method, SetParaAfterSpacing method, SetParaBeforeSpacing method, SetParaHAlign method, SetParaLeftInd method, SetParaLineSpacing method, SetParaRightInd method, Paragraph object