[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.HorizontalAlignment

HorizontalAlignment Enum

Specifies the horizontal alignment of a cell or object.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public enum HorizontalAlignment
Public Enum HorizontalAlignment

Fields

Name Description
Center

Spedifies that the text should be centered.

CenterContinuous

Specifies that the horizontal alignment is centered across multiple cells. The information about how many cells to span is expressed in the sheet part, in the row of the cell in question. For each cell that is spanned in the alignment, a cell element needs to be written out, with the same style Id which references the centerContinuous alignment.

Distributed

Specifies that text should wrap and be aligned to form straight edges on the left and right, including the last line.

Fill

Specifies that the text will be repeated to fill the cell.

General

Specifies that text is left justified, numbers (including dates and times) are right justified, and logical values are centered.

Justify

Specifies that text should wrap and be aligned to form straight edges on the left and right, except for the last line which is left justified.

Left

Spedifies left justification.

Right

Spedifies right justification.