[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.FontInfo

FontInfo Struct

A struct that contains info of fonts that are used by workbook.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public struct FontInfo
Public Structure FontInfo
Examples
FontInfo fontInfo = new FontInfo();
fontInfo.Name = "Arial";
fontInfo.Bold = true;
fontInfo.Italic = false;

Properties

Name Description
Bold

A bool value indicates whether the font is bold.

Italic

A bool value indicates whether the font is italic.

Name

Gets or sets the name of the font.

Methods

Name Description
Equals(object)

Checks whether this font information is equal to another object.

Two FontInfo objects are considered equal when their Name, Bold, and Italic properties have the same values. This method returns false if obj is not a FontInfo instance or is null.

GetHashCode()

Get hash code of font.

Operators

Name Description
operator ==(FontInfo, FontInfo)

Equality.

operator !=(FontInfo, FontInfo)

Inequality.