This topic has not yet been rated - Rate this topic

Size.IsEmpty Property

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

See Also

Size Structure | Size Members | System.Drawing Namespace

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.