RectangleF.IsEmpty Property

 

Tests whether the Width or Height property of this RectangleF has a value of zero.

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

[BrowsableAttribute(false)]
public bool IsEmpty { get; }

Property Value

Type: System.Boolean

This property returns true if the Width or Height property of this RectangleF has a value of zero; otherwise, false.

.NET Framework
Available since 1.1
Return to top
Show: