Style.HorizontalAlignment Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
XlHAlign can be one of the following XlHAlign constants:
xlHAlignCenter
xlHAlignCenterAcrossSelection
xlHAlignDistributed
xlHAlignFill
xlHAlignGeneral
xlHAlignJustify
xlHAlignLeft
xlHAlignRight
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.