Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets a value indicating whether the AnalysisRegion represents an empty region.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.dll)
Syntax
'Declaration
Public ReadOnly Property IsEmpty As Boolean
'Usage
Dim instance As AnalysisRegion
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 AnalysisRegion, theFirstAnalysisRegion.
' Check whether the AnalysisRegion is empty, infinite, or neither.
If theFirstAnalysisRegion.IsEmpty Then
' Insert code here for an empty AnalysisRegionBase.
ElseIf theFirstAnalysisRegion.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 (theFirstAnalysisRegion.IsEmpty)
{
// Insert code here for an empty AnalysisRegionBase.
}
else if (theFirstAnalysisRegion.IsInfinite)
{
// Insert code here for an infinite AnalysisRegionBase.
}
else
{
// Insert code here for a non-empty, finite AnalysisRegionBase.
}
Platforms
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
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