AnalysisRegion.IsInfinite Property
Gets a value indicating whether the AnalysisRegion represents an infinite region.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.dll)
Syntax
'Declaration
Public ReadOnly Property IsInfinite As Boolean
'Usage
Dim instance As AnalysisRegion
Dim value As Boolean
value = instance.IsInfinite
public bool IsInfinite { get; }
public:
property bool IsInfinite {
bool get ();
}
public function get IsInfinite () : boolean
Property Value
Type: System.Boolean
true if the represented region is infinite; 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