<< Click to Display Table of Contents >> VpeSetLeftIndent |
RTF: Left indent. Specifies the left indent of all lines of a new paragraph.
void VpeSetLeftIndent(
VpeHandle hDoc,
VpeCoord indent
)
VpeHandle hDoc
Document Handle
VpeCoord indent
the left indent
Default:
0
Remarks:
The left indent is relative to the left border of the object’s rectangle. For example: VpeSetLeftIndent(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