<< Click to Display Table of Contents >> VpeSetTextAlignment |
Sets the text alignment
void VpeSetTextAlignment(
VpeHandle hDoc,
int alignment
)
VpeHandle hDoc
Document Handle or VPE Object Handle
int alignment
possible values are:
Constant Name |
Value |
Comment |
ALIGN_LEFT |
0 |
|
ALIGN_RIGHT |
1 |
|
ALIGN_CENTER |
2 |
|
ALIGN_JUSTIFIED |
3 |
|
ALIGN_JUSTIFIED_AB |
5 |
|
Default:
ALIGN_LEFT
Remarks:
ALIGN_JUSTIFIED_AB: Text will be aligned justified. In contrast to ALIGN_JUSTIFIED, which aligns the last line left aligned, the last line of the text will also be aligned justified - if it is not ending with a CR / LF character. This flag works only for plain text, not for RTF.