Represents the alignment style options of the text in a cell.
Inheritance Hierarchy
Winnovative.ExcelLibExcelCellAlignment
Namespace: Winnovative.ExcelLib
Assembly: wnvxls (in wnvxls.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax
The ExcelCellAlignment type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| 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
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also