Size.Equals
Contents
[
Hide
]Equals(object)
Tests to see whether the specified object is a Size with the same dimensions as this Size.
public override bool Equals(object obj)
Parameter | Type | Description |
---|---|---|
obj | Object | The Object to test. |
Return Value
true if obj is a Size and has the same width and height as this Size; otherwise, false.
See Also
- struct Size
- namespace System.Drawing
- assembly Aspose.Drawing
Equals(Size)
Tests whether other Size
structure has the same size of this Size
structure.
public bool Equals(Size other)
Parameter | Type | Description |
---|---|---|
other | Size | Other size to test |
Return Value
This method returns true
if other Size
structure and its Width and Height properties are equal to the corresponding properties of this Size
structure; otherwise, false
.
See Also
- struct Size
- namespace System.Drawing
- assembly Aspose.Drawing