XlHAlign enumeration

Office 2013 and later

You should access and use this enumeration from the Excel primary interop assembly (PIA).

Specifies the horizontal alignment for the object.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

No code example is currently available or this language may not be supported.

Member nameDescription
xlHAlignCenterYou should access and use this enumeration from the Excel primary interop assembly (PIA). Center.
xlHAlignCenterAcrossSelectionYou should access and use this enumeration from the Excel primary interop assembly (PIA). Center across selection.
xlHAlignDistributedYou should access and use this enumeration from the Excel primary interop assembly (PIA). Distribute.
xlHAlignFillYou should access and use this enumeration from the Excel primary interop assembly (PIA). Fill.
xlHAlignGeneralYou should access and use this enumeration from the Excel primary interop assembly (PIA). Align according to data type.
xlHAlignJustifyYou should access and use this enumeration from the Excel primary interop assembly (PIA). Justify.
xlHAlignLeftYou should access and use this enumeration from the Excel primary interop assembly (PIA). Left.
xlHAlignRightYou should access and use this enumeration from the Excel primary interop assembly (PIA). Right.
Show: