Share via


_OlkTextBox.TextAlign Property

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

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
Property TextAlign As OlTextAlign
    Get
    Set
'Usage
Dim instance As _OlkTextBox
Dim value As OlTextAlign

value = instance.TextAlign

instance.TextAlign = value
OlTextAlign TextAlign { get; set; }

Property Value

Type: Microsoft.Office.Interop.Outlook.OlTextAlign

Remarks

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

See Also

Reference

_OlkTextBox Interface

_OlkTextBox Members

Microsoft.Office.Interop.Outlook Namespace