RectangleF.IsEmpty 属性

定义

获取一个值,该值指示此 RectangleFWidthHeight 属性的值是否为零。

public:
 property bool IsEmpty { bool get(); };
[System.ComponentModel.Browsable(false)]
public bool IsEmpty { get; }
public bool IsEmpty { get; }
[<System.ComponentModel.Browsable(false)>]
member this.IsEmpty : bool
member this.IsEmpty : bool
Public ReadOnly Property IsEmpty As Boolean

属性值

trueWidth如果此 RectangleF 的 或 Height 属性的值为零,则为 ;否则为 false

属性

适用于