## Font.Equals method

表示指定对象是否为Font并且具有相同的FontFamily, GdiVerticalFont,GdiCharSet,Style,Size , 和Unit像这样的属性值Font.

```csharp
public override bool Equals(object obj)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| obj | Object | 要测试的对象。 |

### 返回值

`真的`如果 obj 参数是Font并且具有相同的FontFamily, GdiVerticalFont,GdiCharSet,Style,Size , 和Unit像这样的属性值Font;否则，`错误的`.

### 也可以看看

* class [Font](../../font)
* 命名空间 [System.Drawing](../../font)
* 部件 [Aspose.Drawing](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Drawing.dll -->
