Tests to see whether the specified object is a with the same dimensions as this .
public override bool Equals(object obj) { if (!(obj is SizeF)) return false; SizeF comp = (SizeF)obj; return (comp.Width == Width) && (comp.Height == Height); }