SizeF.IsEmpty Property


Gets a value that indicates whether this SizeF structure has zero width and height.

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

public bool IsEmpty { get; }

Property Value

Type: System.Boolean

This property returns true when this SizeF structure has both a width and height of zero; otherwise, false.

.NET Framework
Available since 1.1
Return to top