LeftIndent

<< Click to Display Table of Contents >>

Navigation:  RTF Functions >

LeftIndent

Previous pageReturn to chapter overviewNext page

RTF: Left indent. Specifies the left indent of all lines of a new paragraph.

property VpeCoord VPE.LeftIndent

write; runtime only

Possible Values:

the left indent

Default:

0

Remarks:

The left indent is relative to the left border of the object’s rectangle. For example: Doc.LeftIndent = 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