TextFrame2.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 TextFrame2
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: