• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class FormattingCellAlignment

Represents alignment formatting for a cell style.

Inheritance
object
CellAlignment
FormattingCellAlignment
Inherited Members
CellAlignment.DefaultTextRotation
CellAlignment.DefaultHorizontalCellAlignment
CellAlignment.Equals(object)
CellAlignment.Equals(CellAlignment)
CellAlignment.GetHashCode()
CellAlignment.JustifyLastLine
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()
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
CellAlignment.HorizontalAlignment
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
CellAlignment.Indentation
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
CellAlignment.IsVertical
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
CellAlignment.Orientation
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
CellAlignment.ShrinkToFit
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
CellAlignment.TextDirection
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
CellAlignment.VerticalAlignment
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
CellAlignment.WrapText
Remarks

FormattingCellAlignment is used internally for style-based alignment formatting, supporting inheritance from parent styles.

Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX