## ImageFormat::Equals method


Determines if the image formats represented by the current and specified objects are equal.

```cpp
bool System::Drawing::Imaging::ImageFormat::Equals(ImageFormatPtr format) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| format | ImageFormatPtr | The image format object to compare the current object with |

### ReturnValue

True if the current and the specified objects represent the same image format, otherwise - false

## See Also

* Typedef [ImageFormatPtr](../../imageformatptr/)
* Class [ImageFormat](../)
* Namespace [System::Drawing::Imaging](../../)
* Library [Aspose.PDF for C++](../../../)
