## ImageFormat::Equals method


确定当前对象和指定对象所表示的图像格式是否相等。

```cpp
bool System::Drawing::Imaging::ImageFormat::Equals(ImageFormatPtr format) const
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 格式 | ImageFormatPtr | 用于与当前对象比较的图像格式对象 |

### ReturnValue

如果当前对象和指定对象表示相同的图像格式，则为 true；否则为 false

## 另见

* Typedef [ImageFormatPtr](../../imageformatptr/)
* Class [ImageFormat](../)
* Namespace [System::Drawing::Imaging](../../)
* Library [Aspose.Font for C++](../../../)
