IDWriteFont3::Equals method (dwrite_3.h)

Compares two instances of font references for equality.

Syntax

BOOL Equals(
  [in] IDWriteFont *font
);

Parameters

[in] font

Type: IDWriteFont*

A pointer to a IDWriteFont interface for the other font instance to compare to this font instance.

Return value

Type: BOOL

Returns whether the two instances of font references are equal. Returns TRUE if the two instances are equal; otherwise, FALSE.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header dwrite_3.h
Library Dwrite.lib
DLL Dwrite.dll

See also

IDWriteFont3