Compartir a través de


TextFrame.HorizontalAnchor Property

Returns or sets the horizontal alignment of text in a text frame. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.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: Microsoft.Office.Core.MsoHorizontalAnchor

Remarks

The value returned by the HorizontalAnchor property can be one of the following MsoHorizontalAnchor constants:

msoAnchorNone

msoHorizontalAnchorMixed

msoAnchorCenter

See Also

Reference

TextFrame Interface

TextFrame Members

Microsoft.Office.Interop.PowerPoint Namespace