<< Click to Display Table of Contents >> VpeSetFirstIndent |
RTF: First-Line indent. Specifies the left indent of the first line of a new paragraph.
void VpeSetFirstIndent(
VpeHandle hDoc,
VpeCoord indent
)
VpeHandle hDoc
Document Handle
VpeCoord indent
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: VpeSetFirstIndent(hDoc, 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:
VpeSetFirstIndent(hDoc, -1)
VpeSetLeftIndent(hDoc, 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
"RTF - Rich Text Format" in the Programmer's Manual