FirstIndent

<< Click to Display Table of Contents >>

Navigation:  RTF Functions >

FirstIndent

Previous pageReturn to chapter overviewNext page

RTF: First-Line indent. Specifies the left indent of the first line of a new paragraph.

property VpeCoord VPE.FirstIndent

write; runtime only

Possible Values:

the left indent of the first line

Default:

0

Remarks:

The left indent is relative to the left border of the object’s rectangle. For example: Doc.FirstIndent = 2 means, that the left margin is set to:

[left border of object rectangle] + 2 cm

 

The first-line indent and the left indent are used together (they are added) for the first line. To gain a hanging indent, specify for the first-line indent the negative value of the left indent, which accumulates to zero then.

Example:

Doc.FirstIndent = -1

Doc.LeftIndent = 1

Will result in a paragraph formatting like this:

This is the first line and

this is the second line and

this is the third line

 

See also:

"RTF - Rich Text Format" in the Programmer's Manual