Class FormattableCellAlignment
Provides access to alignment formatting properties for a formattable range.
Inherited Members
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public class FormattableCellAlignment : CellAlignment
Remarks
FormattableCellAlignment is obtained through the the Range.Alignment property property
and allows getting and setting alignment properties for an entire range.
Properties
HorizontalAlignment
Specifies the horizontal alignment of the cell (Left, Center, Right, etc.).
Declaration
public override HorizontalCellAlignment HorizontalAlignment { get; set; }
Property Value
| Type | Description |
|---|---|
| HorizontalCellAlignment |
Overrides
Remarks
FormattableCellAlignment is obtained through the the Range.Alignment property property
and allows getting and setting alignment properties for an entire range.
Indentation
Specifies the indentation level in characters.
Declaration
public override int Indentation { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Overrides
Remarks
FormattableCellAlignment is obtained through the the Range.Alignment property property
and allows getting and setting alignment properties for an entire range.
IsVertical
Gets or sets whether the text is vertical.
Declaration
public override bool IsVertical { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
Remarks
FormattableCellAlignment is obtained through the the Range.Alignment property property
and allows getting and setting alignment properties for an entire range.
Orientation
Specifies the rotation angle of the text in degrees.
Declaration
public override int Orientation { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Overrides
Remarks
FormattableCellAlignment is obtained through the the Range.Alignment property property
and allows getting and setting alignment properties for an entire range.
ShrinkToFit
Gets or sets whether the font size shrinks to fit the cell.
Declaration
public override bool ShrinkToFit { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
Remarks
FormattableCellAlignment is obtained through the the Range.Alignment property property
and allows getting and setting alignment properties for an entire range.
TextDirection
Specifies the text direction (Context, LeftToRight, RightToLeft).
Declaration
public override TextDirection TextDirection { get; set; }
Property Value
| Type | Description |
|---|---|
| TextDirection |
Overrides
Remarks
FormattableCellAlignment is obtained through the the Range.Alignment property property
and allows getting and setting alignment properties for an entire range.
VerticalAlignment
Specifies the vertical alignment of the cell (Top, Center, Bottom, etc.).
Declaration
public override VerticalCellAlignment VerticalAlignment { get; set; }
Property Value
| Type | Description |
|---|---|
| VerticalCellAlignment |
Overrides
Remarks
FormattableCellAlignment is obtained through the the Range.Alignment property property
and allows getting and setting alignment properties for an entire range.
WrapText
Gets or sets whether text wrapping is enabled.
Declaration
public override bool WrapText { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
Remarks
FormattableCellAlignment is obtained through the the Range.Alignment property property
and allows getting and setting alignment properties for an entire range.