TextFrame.HorizontalAnchor Property

Gets or sets the horizontal alignment of text in a text frame.

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

Syntax

'Declaration
Property HorizontalAnchor As MsoHorizontalAnchor
    Get
    Set
'Usage
Dim instance As TextFrame
Dim value As MsoHorizontalAnchor

value = instance.HorizontalAnchor

instance.HorizontalAnchor = value
MsoHorizontalAnchor HorizontalAnchor { get; set; }

Property Value

Type: MsoHorizontalAnchor
The horizontal alignment of text in a text frame.

Remarks

Read/write MsoHorizontalAnchor.

See Also

Reference

TextFrame Interface

TextFrame Members

Microsoft.Office.Interop.Word Namespace