次の方法で共有


_OlkLabel.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
<DispIdAttribute()> _
Property TextAlign As OlTextAlign
    Get
    Set
'Usage
Dim instance As _OlkLabel
Dim value As OlTextAlign

value = instance.TextAlign

instance.TextAlign = value
[DispIdAttribute()]
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

_OlkLabel Interface

_OlkLabel Members

Microsoft.Office.Interop.Outlook Namespace