XlCellAlignment Members
Contains alignment settings for a cell.Constructors
Name | Description |
---|---|
XlCellAlignment() | Initializes a new instance of the XlCellAlignment class with the default settings. |
Properties
Name | Description |
---|---|
HorizontalAlignment | Gets or sets the horizontal alignment of the cell content. |
Indent | Gets or sets the cell content indention from the cell edge depending on the applied horizontal alignment. |
JustifyLastLine | Gets or sets a value indicating whether the justified or distributed alignment should be applied to the last line of the cell text. |
ReadingOrder | Gets or sets the reading order for text in a cell. |
RelativeIndent |
Reserved for future use. Gets or sets the additional indent value to add some extra space between the cell content and the cell edge. |
ShrinkToFit | Gets or sets a value indicating whether the font size of the cell text should be automatically adjusted to fit the cell width. |
TextRotation | Gets or sets the rotation angle of the cell content. |
VerticalAlignment | Gets or sets the vertical alignment of the cell content. |
WrapText | Gets or sets a value indicating whether the text contained in a cell should be wrapped into multiple lines. |
Methods
Name | Description |
---|---|
Clone() | Creates a copy of the current XlCellAlignment object. |
CopyFrom(XlCellAlignment) | Copies the appropriate properties of the specified object into the current instance of the XlCellAlignment class. |
Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals(Object) | Determines whether the specified object is equal to the current XlCellAlignment instance. |
FromHV(XlHorizontalAlignment, XlVerticalAlignment) static | Creates the XlCellAlignment object using the specified horizontal and vertical alignment settings. |
GetHashCode() | Gets the hash code (a number) that corresponds to the value of the current XlCellAlignment object. |
GetType() | Gets the Type of the current instance. Inherited from Object. |
MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
ToString() | Returns a string that represents the current object. Inherited from Object. |
See Also