OlkCommandButton.TextAlign property (Outlook)

Returns or sets an OlTextAlign constant that specifies how text is aligned in the control. Read/write.

Syntax

expression. TextAlign

expression A variable that represents an OlkCommandButton object.

Remarks

The default value is olTextAlignLeft in left-to-right languages such as English.

For the Command Button control, when TextAlign is set to olTextAlignLeft, the left margin is only one pixel from the border of the control.

See also

OlkCommandButton Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.