ExcelCellAlignment Class

Represents the alignment style options of the text in a cell.

Definition

Namespace: Winnovative.ExcelLib
Assembly: WnvXls_NetCore (in WnvXls_NetCore.dll) Version: 11.0.0
C#
public class ExcelCellAlignment
Inheritance
Object    ExcelCellAlignment

Properties

Direction Gets or sets the direction of the text in cells.
HorizontalAlignment Gets or sets the horizontal alignment of the text in cells.
Indent Gets or sets the indent level of the cell. Each increment in the Indent is equivalent to the width of one character.
Orientation Gets or sets the orientation of the cell text as a value between -90 and 90 degrees. 90 means the content is rotated 90 degrees counter-clockwise. -90 means the content is rotated 90 degrees clockwise. 0 means the content is not rotated. Default value is 0.
ShrinkToFit Gets or sets a value to indicate if the text automatically shrinks to fit in the available column width. When true the text can shrink. Default value is false.
VerticalAlignment Gets or sets the vertical alignment of the text in cells.
WrapText Indicates if the Excel viewer will wrap the cell text

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also