共用方式為


OlkCommandButton.TextAlign Property (Outlook)

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

Version Information

Version Added: Outlook 2007

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

Concepts

OlkCommandButton Object Members

OlkCommandButton Object