Bewerken

Share via


CharacterMetrics.Equals(Object) Method

Definition

Determines whether the specified CharacterMetrics object is equal to the current CharacterMetrics object.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

The CharacterMetrics object to compare to the current CharacterMetrics object.

Returns

true if the objects are equal; otherwise, false.

Remarks

Two CharacterMetrics objects are equal if the following properties are equal:

BlackBoxHeight

BlackBoxWidth

BottomSideBearing

LeftSideBearing

RightSideBearing

TopSideBearing

Applies to