Jaa


SizeHelper.GetIsEmpty(Size) Method

Definition

Returns whether a specified Size is equivalent to an Empty Size. C# and Microsoft Visual Basic code should use Size.IsEmpty instead.

public:
 static bool GetIsEmpty(Size target);
 static bool GetIsEmpty(Size const& target);
public static bool GetIsEmpty(Size target);
function getIsEmpty(target)
Public Shared Function GetIsEmpty (target As Size) As Boolean

Parameters

target
Size

The Size to evaluate.

Returns

Boolean

bool

true if the specified Size is equivalent to an Empty Size; otherwise, false.

Remarks

Do not use this method to test for zero area; a size with zero area is not necessarily the Empty size. For more information, see the Empty property.

Applies to