## Size::Equals method


Tests to see whether the specified object is a [T:Aspose::Page::Drawing::Size](../) with the same dimensions as this [T:Aspose::Page::Drawing::Size](../).

```cpp
bool Aspose::Page::Drawing::Size::Equals(System::SharedPtr<System::Object> obj) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| obj | System::SharedPtr\<System::Object\> | The [T:System::Object](../) to test. |

### ReturnValue

true if *obj*  is a [T:Aspose::Page::Drawing::Size](../) and has the same width and height as this [T:Aspose::Page::Drawing::Size](../); otherwise, false.

## See Also

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