[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.IFont

IFont Interface

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

Namespace: GrapeCity.Spreadsheet
Assembly: GrapeCity.Spreadsheet.dll
Syntax
public interface IFont
Public Interface IFont

Properties

Name Description
Bold

Gets or sets a value indicating whether the font is bold.

Color

Gets or sets the primary color of the object

ColorIndex

Gets or sets an integer value that represents the indexed color of the font.

FontStyle

Gets or sets the font style

Italic

Gets or sets a value indicating whether the font is italic.

Name

Gets or sets a value that represents the name of the object.

Size

Gets or sets the size in points of the font.

SizeInPixels

Gets or sets the size in pixels of the font.

Strikethrough

True if the font is struck through with a horizontal line.

Subscript

True if the font is formatted as subscript. False by default.

Superscript

True if the font is formatted as superscript; False by default.

ThemeFont

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

Underline

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

Methods

Name Description
ApplyFont(Font)

Apply font's setting for whole font