Поделиться через


AnalysisRegion.IsInfinite - свойство

Обновлен: Ноябрь 2007

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

Пространство имен:  System.Windows.Ink
Сборка:  IAWinFX (в IAWinFX.dll)

Синтаксис

'Декларация
Public ReadOnly Property IsInfinite As Boolean
'Применение
Dim instance As AnalysisRegion
Dim value As Boolean

value = instance.IsInfinite
public bool IsInfinite { get; }
public:
property bool IsInfinite {
    bool get ();
}
/** @property */
public boolean get_IsInfinite()
public function get IsInfinite () : boolean

Значение свойства

Тип: System.Boolean
true if the represented region is infinite; otherwise, false.

Примеры

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.
}

Платформы

Windows Vista

Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.

Сведения о версии

.NET Framework

Поддерживается в версии: 3.0

См. также

Ссылки

AnalysisRegion Класс

AnalysisRegion - члены

System.Windows.Ink - пространство имен

AnalysisRegion.IsEmpty

AnalysisRegion.MakeEmpty

AnalysisRegion.MakeInfinite