Class XlsFont
- Namespace
- Spire.Xls.Core.Spreadsheet
- Assembly
- Spire.XLS.dll
public class XlsFont : XlsObject, IFont, IExcelApplication, IOptimizedUpdate, ICloneParent, IDisposable, IComparable
- Inheritance
-
XlsFont
- Implements
- Derived
- Inherited Members
Properties
Color
public Color Color { get; set; }
Property Value
Font
public XlsFont Font { get; }
Property Value
FontName
public string FontName { get; set; }
Property Value
IsAutoColor
public bool IsAutoColor { get; }
Property Value
IsBold
public bool IsBold { get; set; }
Property Value
IsItalic
public bool IsItalic { get; set; }
Property Value
IsStrikethrough
public bool IsStrikethrough { get; set; }
Property Value
IsSubscript
public bool IsSubscript { get; set; }
Property Value
IsSuperscript
public bool IsSuperscript { get; set; }
Property Value
KnownColor
public ExcelColors KnownColor { get; set; }
Property Value
MacOSOutlineFont
True if the font is an outline font. Read/write Boolean.
protected bool MacOSOutlineFont { get; set; }
Property Value
MacOSShadow
True if the font is a shadow font or if the object has a shadow. Read/write Boolean.
protected bool MacOSShadow { get; set; }
Property Value
OColor
Returns color object.
public OColor OColor { get; }
Property Value
Scheme
public string Scheme { get; set; }
Property Value
Size
public double Size { get; set; }
Property Value
StrikethroughType
public string StrikethroughType { get; set; }
Property Value
Underline
public FontUnderlineType Underline { get; set; }
Property Value
VerticalAlignment
public FontVertialAlignmentType VerticalAlignment { get; set; }
Property Value
Methods
BeginUpdate()
public void BeginUpdate()
Clone(object)
public XlsFont Clone(object parent)
Parameters
parent
object
Returns
CompareTo(object)
public int CompareTo(object obj)
Parameters
obj
object
Returns
EndUpdate()
public void EndUpdate()
GetThemeColor(out ThemeColorType, out double)
public bool GetThemeColor(out ThemeColorType type, out double tint)
Parameters
type
ThemeColorTypetint
double
Returns
MeasureString(string)
public SizeF MeasureString(string strValue)
Parameters
strValue
string
Returns
SetThemeColor(ThemeColorType, double)
public void SetThemeColor(ThemeColorType type, double tint)
Parameters
type
ThemeColorTypetint
double