Compartir a través de


AnalysisRegion.IsEmpty (Propiedad)

Actualización: noviembre 2007

Obtiene un valor que indica si el objeto AnalysisRegion representa una región vacía.

Espacio de nombres:  Microsoft.Ink
Ensamblado:  Microsoft.Ink.Analysis (en Microsoft.Ink.Analysis.dll)

Sintaxis

'Declaración
Public ReadOnly Property IsEmpty As Boolean
'Uso
Dim instance As AnalysisRegion
Dim value As Boolean

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

Valor de propiedad

Tipo: System.Boolean
Es true, si la región representada está vacía; en caso contrario, es false.

Ejemplos

En el ejemplo siguiente se prueba la extensión del área representada por el objeto 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.
            }

Plataformas

Windows Vista

.NET Framework y .NET Compact Framework no admiten todas las versiones de cada plataforma. Para obtener una lista de las versiones compatibles, vea Requisitos de sistema de .NET Framework.

Información de versión

.NET Framework

Compatible con: 3.0

Vea también

Referencia

AnalysisRegion (Clase)

AnalysisRegion (Miembros)

Microsoft.Ink (Espacio de nombres)

AnalysisRegion.IsInfinite

AnalysisRegion.MakeEmpty

AnalysisRegion.MakeInfinite