[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IFont

Interface IFont

Namespace
GrapeCity.Documents.Excel
Assembly
GcDocs.Excel.dll

Contains the font attributes (font name, font size, color, and so on) for an object.

public interface IFont

Properties

Bold

Gets or sets whether the font is bold.

bool Bold { get; set; }

Property Value

bool

Color

Gets or sets the Color of the represented text.

Color Color { get; set; }

Property Value

System.Drawing.Color

ColorIndex

Gets or sets the color of the font.

int ColorIndex { get; set; }

Property Value

int

Italic

Gets or sets whether the font style is italic.

bool Italic { get; set; }

Property Value

bool

Name

Gets or sets the name of the object.

string Name { get; set; }

Property Value

string

Size

Gets or sets the size of the font.

double Size { get; set; }

Property Value

double

Strikethrough

Gets or sets whether the font is struck through with a horizontal line.

bool Strikethrough { get; set; }

Property Value

bool

Subscript

Gets or sets whether the font is formatted as subscript (False by default).

bool Subscript { get; set; }

Property Value

bool

Superscript

Gets or sets whether the font is formatted as superscript. The value is False by default.

bool Superscript { get; set; }

Property Value

bool

ThemeColor

Gets or sets the theme color in the applied color scheme that is associated with the specified object. The ThemeColor value is read or write.

ThemeColor ThemeColor { get; set; }

Property Value

ThemeColor

ThemeFont

Gets or sets the theme font in the applied font scheme that is associated with the specified object. The ThemeFont is read or write.

ThemeFont ThemeFont { get; set; }

Property Value

ThemeFont

TintAndShade

Gets or sets a value that lightens or darkens a color. The valid number is from -1 (darkest) to 1 (lightest). Zero (0) is neutral.

double TintAndShade { get; set; }

Property Value

double

Underline

Gets or sets the type of underline applied to the font.

UnderlineType Underline { get; set; }

Property Value

UnderlineType