Edit

Share via


TextFrame.HorizontalAlignment Property

Definition

Returns or sets the horizontal alignment for the specified object.

public:
 property Microsoft::Office::Interop::Excel::XlHAlign HorizontalAlignment { Microsoft::Office::Interop::Excel::XlHAlign get(); void set(Microsoft::Office::Interop::Excel::XlHAlign value); };
public Microsoft.Office.Interop.Excel.XlHAlign HorizontalAlignment { get; set; }
Public Property HorizontalAlignment As XlHAlign

Property Value

Remarks

The HorizontalAlignment property can be one of the XlHAlign constants.

Some of these constants may not be available to you, depending on the language support (U.S. English, for example) that you've selected or installed.

Applies to