12.14. CommentAlignment Property

Description

CommentAlignment - returns or sets a value indicating how the comment is aligned.

Syntax

object.CommentAlignment[= AligmentEnum] 

Remarks

This property controls how the text in the comment portion is aligned. Valid alignment choices are listed in the table below:

Table 12.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.