_OlkCommandButton.TextAlign Property

Definition

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

public:
 property Microsoft::Office::Interop::Outlook::OlTextAlign TextAlign { Microsoft::Office::Interop::Outlook::OlTextAlign get(); void set(Microsoft::Office::Interop::Outlook::OlTextAlign value); };
public Microsoft.Office.Interop.Outlook.OlTextAlign TextAlign { get; set; }
Public Property TextAlign As OlTextAlign

Property Value

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.

Applies to