SizeF.Equals Method

Tests to see whether the specified object is a SizeF with the same dimensions as this SizeF.

Overrides Public Function Equals( _
   ByVal obj As Object _) As Boolean
[C#]
public override bool Equals(objectobj);
[C++]
public: bool Equals(Object* obj);
[JScript]
public override function Equals(
   obj : Object) : Boolean;

Parameters

Return Value

This method returns true if obj is a SizeF and has the same width and height as this SizeF; otherwise, false.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

SizeF Structure | SizeF Members | System.Drawing Namespace