Interface IXLAlignment
public interface IXLAlignment : IEquatable<IXLAlignment>
- Inherited Members
- Extension Methods
Properties
Horizontal
Gets or sets the cell's horizontal alignment.
XLAlignmentHorizontalValues Horizontal { get; set; }
Property Value
Indent
Gets or sets the cell's text indentation.
int Indent { get; set; }
Property Value
JustifyLastLine
Gets or sets whether the cell's last line is justified or not.
bool JustifyLastLine { get; set; }
Property Value
ReadingOrder
Gets or sets the cell's reading order.
XLAlignmentReadingOrderValues ReadingOrder { get; set; }
Property Value
RelativeIndent
Gets or sets the cell's relative indent.
int RelativeIndent { get; set; }
Property Value
ShrinkToFit
Gets or sets whether the cell's font size should decrease to fit the contents.
bool ShrinkToFit { get; set; }
Property Value
TextRotation
Gets or sets the cell's text rotation in degrees. Allowed values are -90 (text is rotated clockwise) to 90 (text is rotated counterclockwise) and 255 for vertical layout of a text.
int TextRotation { get; set; }
Property Value
TopToBottom
Gets or sets whether the cell's text should be displayed from to to bottom
(as opposed to the normal left to right).
bool TopToBottom { get; set; }
Property Value
Vertical
Gets or sets the cell's vertical alignment.
XLAlignmentVerticalValues Vertical { get; set; }
Property Value
WrapText
Gets or sets whether the cell's text should wrap if it doesn't fit.
bool WrapText { get; set; }
Property Value
Methods
SetHorizontal(XLAlignmentHorizontalValues)
IXLStyle SetHorizontal(XLAlignmentHorizontalValues value)
Parameters
Returns
SetIndent(int)
IXLStyle SetIndent(int value)
Parameters
valueint
Returns
SetJustifyLastLine()
IXLStyle SetJustifyLastLine()
Returns
SetJustifyLastLine(bool)
IXLStyle SetJustifyLastLine(bool value)
Parameters
valuebool
Returns
SetReadingOrder(XLAlignmentReadingOrderValues)
IXLStyle SetReadingOrder(XLAlignmentReadingOrderValues value)
Parameters
Returns
SetRelativeIndent(int)
IXLStyle SetRelativeIndent(int value)
Parameters
valueint
Returns
SetShrinkToFit()
IXLStyle SetShrinkToFit()
Returns
SetShrinkToFit(bool)
IXLStyle SetShrinkToFit(bool value)
Parameters
valuebool
Returns
SetTextRotation(int)
IXLStyle SetTextRotation(int value)
Parameters
valueint
Returns
SetTopToBottom()
IXLStyle SetTopToBottom()
Returns
SetTopToBottom(bool)
IXLStyle SetTopToBottom(bool value)
Parameters
valuebool
Returns
SetVertical(XLAlignmentVerticalValues)
IXLStyle SetVertical(XLAlignmentVerticalValues value)
Parameters
Returns
SetWrapText()
IXLStyle SetWrapText()
Returns
SetWrapText(bool)
IXLStyle SetWrapText(bool value)
Parameters
valuebool