Class ExcelRichText
A richtext part
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml.Style
Assembly: EPPlus.dll
Syntax
public class ExcelRichText : XmlHelper
Properties
_collection
A referens to the richtext collection
Declaration
public ExcelRichTextCollection _collection { get; set; }
Property Value
Type | Description |
---|---|
ExcelRichTextCollection |
Bold
Bold text
Declaration
public bool Bold { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Color
Text color
Declaration
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color |
FontName
Name of the font
Declaration
public string FontName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Italic
Italic text
Declaration
public bool Italic { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
PreserveSpace
Preserves whitespace. Default true
Declaration
public bool PreserveSpace { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Size
Font size
Declaration
public float Size { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Strike
Strike-out text
Declaration
public bool Strike { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Text
The text
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UnderLine
Underlined text
Declaration
public bool UnderLine { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
VerticalAlign
Vertical Alignment
Declaration
public ExcelVerticalAlignmentFont VerticalAlign { get; set; }
Property Value
Type | Description |
---|---|
ExcelVerticalAlignmentFont |