AnalysisRegionBase.IsEmpty Property
Gets a value indicating whether the AnalysisRegionBase represents an empty region.
Namespace: System.Windows.Ink.AnalysisCore
Assembly: IACore (in IACore.dll)
Syntax
'Declaration
Public ReadOnly Property IsEmpty As Boolean
'Usage
Dim instance As AnalysisRegionBase
Dim value As Boolean
value = instance.IsEmpty
public bool IsEmpty { get; }
public:
property bool IsEmpty {
bool get ();
}
public function get IsEmpty () : boolean
Property Value
Type: System.Boolean
true if the represented region is empty; otherwise, false.
Examples
The following example tests the extent of the area represented by the AnalysisRegionBase, theFirstAnalysisRegionBase.
' Check whether the AnalysisRegionBase is empty, infinite, or neither.
If theFirstAnalysisRegionBase.IsEmpty Then
' Insert code here for an empty AnalysisRegionBase.
ElseIf theFirstAnalysisRegionBase.IsInfinite Then
' Insert code here for an infinite AnalysisRegionBase.
Else
' Insert code here for a non-empty, finite AnalysisRegionBase.
End If
// Check whether the AnalysisRegionBase is empty, infinite, or neither.
if (theFirstAnalysisRegionBase.IsEmpty)
{
// Insert code here for an empty AnalysisRegionBase.
}
else if (theFirstAnalysisRegionBase.IsInfinite)
{
// Insert code here for an infinite AnalysisRegionBase.
}
else
{
// Insert code here for a non-empty, finite AnalysisRegionBase.
}
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 3.0