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