Class ExcelRichText
- Namespace
- OfficeOpenXml.Style
- Assembly
- EPPlus.dll
A richtext part
public class ExcelRichText
- Inheritance
-
ExcelRichText
- Inherited Members
Properties
Bold
Bold text
public bool Bold { get; set; }
Property Value
Charset
Characterset to use
public int Charset { get; set; }
Property Value
Color
Text color. Also see ColorSettings
public Color Color { get; set; }
Property Value
ColorSettings
Color settings. Color
public ExcelRichTextColor ColorSettings { get; set; }
Property Value
Family
Font family
public int Family { get; set; }
Property Value
FontName
Name of the font
public string FontName { get; set; }
Property Value
HasDefaultValue
Has default value
public bool HasDefaultValue { get; }
Property Value
HtmlText
Returns the rich text item as a html string.
public string HtmlText { get; }
Property Value
Italic
Italic text
public bool Italic { get; set; }
Property Value
PreserveSpace
Preserves whitespace. Default true
public bool PreserveSpace { get; set; }
Property Value
Size
Font size
public float Size { get; set; }
Property Value
Strike
Strike-out text
public bool Strike { get; set; }
Property Value
Text
The text
public string Text { get; set; }
Property Value
UnderLine
public bool UnderLine { get; set; }
Property Value
UnderLineType
Underline type of text
public ExcelUnderLineType UnderLineType { get; set; }
Property Value
VerticalAlign
Vertical Alignment
public ExcelVerticalAlignmentFont? VerticalAlign { get; set; }
Property Value
Methods
GetUVerticalAlignmentFont(string)
Get the underline typ for rich text
public static ExcelVerticalAlignmentFont GetUVerticalAlignmentFont(string v)
Parameters
v
string
Returns
- ExcelVerticalAlignmentFont
returns excelunderline type
GetUnderlineType(string)
Get the underline typ for rich text
public static ExcelUnderLineType GetUnderlineType(string v)
Parameters
v
string
Returns
- ExcelUnderLineType
returns excelunderline type