AnalysisRegion.IsInfinite 属性

获取一个值,该值指示 AnalysisRegion 是否表示无限区域。

命名空间:  Microsoft.Ink
程序集:  Microsoft.Ink.Analysis(在 Microsoft.Ink.Analysis.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;否则为 false。

示例

下面的示例测试 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.
            }

平台

Windows Vista

.NET Framework 和 .NET Compact Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求

版本信息

.NET Framework

受以下版本支持:3.0

另请参见

参考

AnalysisRegion 类

AnalysisRegion 成员

Microsoft.Ink 命名空间

AnalysisRegion.IsEmpty

AnalysisRegion.MakeEmpty

AnalysisRegion.MakeInfinite