RectHelper.GetIsEmpty(Rect) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns whether a specified Rect is equivalent to an Empty Rect. C# and Microsoft Visual Basic code should use Rect.IsEmpty instead.
public:
static bool GetIsEmpty(Rect target);
static bool GetIsEmpty(Rect const& target);
public static bool GetIsEmpty(Rect target);
function getIsEmpty(target)
Public Shared Function GetIsEmpty (target As Rect) As Boolean
Parameters
Returns
bool
true if the specified Rect is equivalent to an Empty Rect; otherwise, false.
Remarks
Do not use this method to test for zero area; a rectangle with zero area is not necessarily the Empty rectangle. For more information, see the Empty property.