Compartir a través de


TextFrame2.HorizontalAnchor Property

Returns or sets the horizontal anchor type for the specified text. Read/write.

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

Syntax

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

value = instance.HorizontalAnchor

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

Property Value

Type: Microsoft.Office.Core.MsoHorizontalAnchor
MsoHorizontalAnchor

See Also

Reference

TextFrame2 Interface

TextFrame2 Members

Microsoft.Office.Interop.Excel Namespace