[]
        
(Showing Draft Content)

C1.Excel.XLFont

XLFont Class

XLFont

Inheritance
XLFont
Namespace: C1.Excel
Assembly: C1.Excel.dll
Syntax
public class XLFont

Constructors

Name Description
XLFont(string, float)

Excel font initialization.

XLFont(string, float, bool, bool)

Excel font initialization.

XLFont(string, float, bool, bool, bool, XLFontScript, XLUnderlineStyle, Color, byte)

Excel font initialization.

XLFont(string, float, bool, bool, Color)

Excel font initialization.

XLFont(string, float, Color)

Excel font initialization.

Properties

Name Description
Bold

Gets bold flag of the Excel font.

CharSet

Gets char set value of the Excel font.

Color

Gets or set Color value of the Excel font.

FontName

Gets Excel font name (font family).

FontSize

Gets Excel font size in points.

Italic

Gets italic flag of the Excel font.

Script

Gets XLFontScript value of the Excel font.

SizeInPoints

Gets Excel font size in points.

Strikeout

Gets strikeout flag of the Excel font.

Underline

Gets XLUnderlineStyle value of the Excel font.

Vertical

Gets vertical text direction flag of the Excel font.

Methods

Name Description
Equals(object)

Determines whether the specified System.Object instances are considered equal.

GetHashCode()

Serves as a hash function for a particular type.

GetMeasure(string)

Gets text measure as SizeF of this font.

GetResourceFont(string)

Gets a font that embedded to this library.

Operators

Name Description
implicit operator Font(XLFont)

Convert implicitly to GrapeCity Document font.