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

Class FormattableCellAlignment

Provides access to alignment formatting properties for a formattable range.

Inheritance
object
CellAlignment
FormattableCellAlignment
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 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
CellAlignment.HorizontalAlignment
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
CellAlignment.Indentation
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
CellAlignment.IsVertical
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
CellAlignment.Orientation
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
CellAlignment.ShrinkToFit
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
CellAlignment.TextDirection
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
CellAlignment.VerticalAlignment
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
CellAlignment.WrapText
Remarks

FormattableCellAlignment is obtained through the the Range.Alignment property property and allows getting and setting alignment properties for an entire range.

Back to top

DR-IT Software documentation

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

Generated by DocFX