Size.IsEmpty Property
.NET Framework 1.1
Tests whether this Size has zero width and height.
[Visual Basic] Public ReadOnly Property IsEmpty As Boolean [C#] public bool IsEmpty {get;} [C++] public: __property bool get_IsEmpty(); [JScript] public function get IsEmpty() : Boolean;
Property Value
This property returns true when this Size has both a width and height of zero; 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