Interface IXLFormattedText<T>
public interface IXLFormattedText<T> : IEnumerable<IXLRichString>, IEnumerable, IEquatable<IXLFormattedText<T>>, IXLWithRichString
Type Parameters
T
- Inherited Members
- Extension Methods
Properties
Bold
bool Bold { set; }
Property Value
Count
int Count { get; }
Property Value
FontColor
XLColor FontColor { set; }
Property Value
FontFamilyNumbering
XLFontFamilyNumberingValues FontFamilyNumbering { set; }
Property Value
FontName
string FontName { set; }
Property Value
FontSize
double FontSize { set; }
Property Value
HasPhonetics
bool HasPhonetics { get; }
Property Value
Italic
bool Italic { set; }
Property Value
Length
int Length { get; }
Property Value
Phonetics
IXLPhonetics Phonetics { get; }
Property Value
Shadow
bool Shadow { set; }
Property Value
Strikethrough
bool Strikethrough { set; }
Property Value
Text
string Text { get; }
Property Value
Underline
XLFontUnderlineValues Underline { set; }
Property Value
VerticalAlignment
XLFontVerticalTextAlignmentValues VerticalAlignment { set; }
Property Value
Methods
AddText(string, IXLFontBase)
IXLRichString AddText(string text, IXLFontBase font)
Parameters
textstringfontIXLFontBase
Returns
ClearFont()
IXLFormattedText<T> ClearFont()
Returns
ClearText()
IXLFormattedText<T> ClearText()
Returns
CopyFrom(IXLFormattedText<T>)
Copy the text and formatting from the original text.
IXLFormattedText<T> CopyFrom(IXLFormattedText<T> original)
Parameters
originalIXLFormattedText<T>Original to copy from.
Returns
- IXLFormattedText<T>
This text.
SetBold()
IXLFormattedText<T> SetBold()
Returns
SetBold(bool)
IXLFormattedText<T> SetBold(bool value)
Parameters
valuebool
Returns
SetFontColor(XLColor)
IXLFormattedText<T> SetFontColor(XLColor value)
Parameters
valueXLColor
Returns
SetFontFamilyNumbering(XLFontFamilyNumberingValues)
IXLFormattedText<T> SetFontFamilyNumbering(XLFontFamilyNumberingValues value)
Parameters
Returns
SetFontName(string)
IXLFormattedText<T> SetFontName(string value)
Parameters
valuestring
Returns
SetFontSize(double)
IXLFormattedText<T> SetFontSize(double value)
Parameters
valuedouble
Returns
SetItalic()
IXLFormattedText<T> SetItalic()
Returns
SetItalic(bool)
IXLFormattedText<T> SetItalic(bool value)
Parameters
valuebool
Returns
SetShadow()
IXLFormattedText<T> SetShadow()
Returns
SetShadow(bool)
IXLFormattedText<T> SetShadow(bool value)
Parameters
valuebool
Returns
SetStrikethrough()
IXLFormattedText<T> SetStrikethrough()
Returns
SetStrikethrough(bool)
IXLFormattedText<T> SetStrikethrough(bool value)
Parameters
valuebool
Returns
SetUnderline()
IXLFormattedText<T> SetUnderline()
Returns
SetUnderline(XLFontUnderlineValues)
IXLFormattedText<T> SetUnderline(XLFontUnderlineValues value)
Parameters
valueXLFontUnderlineValues
Returns
SetVerticalAlignment(XLFontVerticalTextAlignmentValues)
IXLFormattedText<T> SetVerticalAlignment(XLFontVerticalTextAlignmentValues value)
Parameters
Returns
Substring(int)
IXLFormattedText<T> Substring(int index)
Parameters
indexint
Returns
Substring(int, int)
IXLFormattedText<T> Substring(int index, int length)