Class FormattingCellAlignment
Represents alignment formatting for a cell style.
Inherited Members
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public class FormattingCellAlignment : CellAlignment
Remarks
FormattingCellAlignment is used internally for style-based alignment formatting,
supporting inheritance from parent styles.
Properties
HorizontalAlignment
Specifies the horizontal alignment (Left, Center, Right, etc.).
Declaration
public override HorizontalCellAlignment HorizontalAlignment { get; set; }
Property Value
| Type | Description |
|---|---|
| HorizontalCellAlignment |
Overrides
Remarks
FormattingCellAlignment is used internally for style-based alignment formatting,
supporting inheritance from parent styles.
Indentation
Specifies the indentation level in characters.
Declaration
public override int Indentation { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Overrides
Remarks
FormattingCellAlignment is used internally for style-based alignment formatting,
supporting inheritance from parent styles.
IsVertical
Gets or sets whether the text is vertical.
Declaration
public override bool IsVertical { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
Remarks
FormattingCellAlignment is used internally for style-based alignment formatting,
supporting inheritance from parent styles.
Orientation
Specifies the text rotation angle in degrees.
Declaration
public override int Orientation { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Overrides
Remarks
FormattingCellAlignment is used internally for style-based alignment formatting,
supporting inheritance from parent styles.
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
FormattingCellAlignment is used internally for style-based alignment formatting,
supporting inheritance from parent styles.
TextDirection
Specifies the text direction (Context, LeftToRight, RightToLeft).
Declaration
public override TextDirection TextDirection { get; set; }
Property Value
| Type | Description |
|---|---|
| TextDirection |
Overrides
Remarks
FormattingCellAlignment is used internally for style-based alignment formatting,
supporting inheritance from parent styles.
VerticalAlignment
Specifies the vertical alignment (Top, Center, Bottom, etc.).
Declaration
public override VerticalCellAlignment VerticalAlignment { get; set; }
Property Value
| Type | Description |
|---|---|
| VerticalCellAlignment |
Overrides
Remarks
FormattingCellAlignment is used internally for style-based alignment formatting,
supporting inheritance from parent styles.
WrapText
Gets or sets whether text wrapping is enabled.
Declaration
public override bool WrapText { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
Remarks
FormattingCellAlignment is used internally for style-based alignment formatting,
supporting inheritance from parent styles.