Share via


XlHAlign Enumeration 

Specifies the horizontal alignment for the object.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)

Usage

Dim xlHAlign1 As XlHAlign = XlHAlign.xlHAlignCenter

Syntax

Public Enum XlHAlign
public enum XlHAlign
public enum class XlHAlign
public enum XlHAlign
public enum XlHAlign

Members

Member name Description
xlHAlignCenter Center.
xlHAlignCenterAcrossSelection Center across selection.
xlHAlignDistributed Distribute.
xlHAlignFill Fill.
xlHAlignGeneral Align according to data type.
xlHAlignJustify Justify.
xlHAlignLeft Left.
xlHAlignRight Right.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Microsoft.Office.Interop.Excel Namespace