HorizontalAlignment Enumeration

Spread.Services Documentation
HorizontalAlignment Enumeration
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter: C#
C#

GrapeCity.Documents.Spread Namespace : HorizontalAlignment Enumeration

Specifies the horizontal alignment of a cell or object.
Syntax

- C#

    public enum HorizontalAlignment : System.Enum

Members

Member | 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.

Inheritance Hierarchy

System.Object
System.ValueType
System.Enum
GrapeCity.Documents.Spread.HorizontalAlignment

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

#### Reference

GrapeCity.Documents.Spread Namespace

Copyright © GrapeCity, inc. All rights reserved.

Send Feedback