Size.IsEmpty Property

Definition

Gets a value that indicates whether this instance of Size is Empty.

public:
 property bool IsEmpty { bool get(); };
public bool IsEmpty { get; }
member this.IsEmpty : bool
Public ReadOnly Property IsEmpty As Boolean

Property Value

true if this instance of size is Empty; otherwise false.

Remarks

Even if Size is 0, the instance of Size will still contain a 0 or 1, indicating a zero- or one-dimensional set of points. Therefore, do not use this property to check for a 0 area.

Applies to