Share via


AnalysisRegion.IsInfinite Property

Gets a Boolean value that indicates whether the AnalysisRegion represents an infinite region.

Namespace:  System.Windows.Ink
Assembly:  IAWinFX (in IAWinFX.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, named theFirstAnalysisRegion.

' Check whether the AnalysisRegionBase 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 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

See Also

Reference

AnalysisRegion Class

AnalysisRegion Members

System.Windows.Ink Namespace

AnalysisRegion.IsEmpty

AnalysisRegion.MakeEmpty

AnalysisRegion.MakeInfinite