Skip to main content
Row

RichTextRunFont.Equals(SpreadsheetFont, SpreadsheetFont) Method

Determines whether the specified objects are considered equal.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v24.1.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

public static bool Equals(
    SpreadsheetFont font1,
    SpreadsheetFont font2
)

Parameters

Name Type Description
font1 SpreadsheetFont

A SpreadsheetFont or RichTextRunFont object that is the first object to compare.

font2 SpreadsheetFont

A SpreadsheetFont or RichTextRunFont object that is the second object to compare.

Returns

Type Description
Boolean

true, if the objects are considered equal; otherwise, false.

See Also