## Font::Equals method


确定当前对象和指定对象是否相同。

```cpp
bool System::Drawing::Font::Equals(System::SharedPtr<System::Object> obj) override
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| obj | System::SharedPtr\<System::Object\> | 用于与当前对象进行比较的对象 |

### ReturnValue

如果当前对象和指定对象相同，则为 true；否则为 false

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [Font](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
