Description
CommentAlignment - returns or sets a value indicating how the comment is aligned.
Syntax
HRESULT get_CommentAlignment(HANDLE handle, LONG* pVal); HRESULT put_CommentAlignment(HANDLE handle, LONG val);
Remarks
This property controls how the text in the comment portion is aligned. Valid alignment choices are listed in the table below:
Table 8.4. CommentAlignment Options
| Constant | Value | Description |
|---|---|---|
| mbxAlignLeft | 0 | Left alignment (default). Align the text to the left edge of the comment box. |
| mbxAlignRight | 1 | Right alignment. Align the text to the right edge of the comment box. |
| mbxAlignCenter | 2 | Center alignment. Align the text to the center of the comment box |
| mbxAlignJustify | 3 | Justify alignment. Align the text to both edge of the comment box. |