Class ExcelDxfAlignment¶
Namespace: OfficeOpenXml.Style.Dxf
Assembly: EPPlus.dll
Represents a cell alignment properties used for differential style formatting.
Inheritance¶
object ← DxfStyleBase ← ExcelDxfAlignment
Inherited Members¶
DxfStyleBase.Clear()
DxfStyleBase.HasValue
DxfStyleBase.SetValueColor(XmlHelper, string, ExcelDxfColor)
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
HasValue¶
If the dxf style has any values set.
Property Value¶
HorizontalAlignment¶
Horizontal alignment.
Property Value¶
Indent¶
The margin between the border and the text
Property Value¶
int?
JustifyLastLine¶
If the cells justified or distributed alignment should be used on the last line of text.
Property Value¶
bool?
ReadingOrder¶
Reading order 0 - Context Dependent 1 - Left-to-Right 2 - Right-to-Left
Property Value¶
int?
RelativeIndent¶
The additional number of spaces of indentation to adjust for text in a cell.
Property Value¶
int?
ShrinkToFit¶
Shrink the text to fit
Property Value¶
bool?
TextRotation¶
String orientation in degrees. Values range from 0 to 180 or 255. Setting the rotation to 255 will align text vertically.
Property Value¶
int?
VerticalAlignment¶
Vertical alignment.
Property Value¶
WrapText¶
Wrap the text
Property Value¶
bool?
Methods¶
Clear()¶
Clears all properties
SetTextVertical()¶
Makes the text vertically. This is the same as setting TextRotation to 255.