[]
Gets or sets the horizontal alignment of the text.
TextAlignmentAnchor TextAlignment { get; set; }
Property TextAlignment As TextAlignmentAnchor
ITextRange textRange = shape.TextFrame.TextRange;
textRange.Text = "Sales Report";
textRange.TextAlignment = TextAlignmentAnchor.Center;
TextAlignmentAnchor alignment = textRange.TextAlignment;