CellFormat.HorizontalAlignment Property

Definition

Returns or sets the horizontal alignment for the specified object.

public object HorizontalAlignment { get; set; }

Property Value

Remarks

The following constants can be used:

xlCenter

xlDistributed

xlJustify

xlLeft

xlRight

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

Product Versions
Excel primary interop assembly Latest