Compartir a través de


AnalysisRegionBase.GetBounds (Método)

Actualización: noviembre 2007

Obtiene el rectángulo delimitador del objeto AnalysisRegionBase.

Espacio de nombres:  System.Windows.Ink.AnalysisCore
Ensamblado:  IACore (en IACore.dll)

Sintaxis

'Declaración
Public Function GetBounds As Integer()
'Uso
Dim instance As AnalysisRegionBase
Dim returnValue As Integer()

returnValue = instance.GetBounds()
public int[] GetBounds()
public:
array<int>^ GetBounds()
public int[] GetBounds()
public function GetBounds() : int[]

Valor devuelto

Tipo: array<System.Int32[]
Límites izquierdo, superior, derecho e inferior del objeto AnalysisRegionBase, en unidades HIMETRIC.

Comentarios

Los límites se expresan en coordenadas de espacio de entrada manuscrita.

Si AnalysisRegionBase representa una área infinita, los límites izquierdo y superior son System.Int32.MinValue y los límites derecho e inferior son System.Int32.MaxValue.

Si el objeto AnalysisRegionBase representa un área vacía, todos los límites del rectángulo son 0.

Ejemplos

En este ejemplo se muestran dos maneras de obtener el área representada por el objeto AnalysisRegionBase, theFirstAnalysisRegionBase.

' Get the area of the AnalysisRegionBase as an array of rectangles.
Dim theArea As Integer() = theFirstAnalysisRegionBase.GetRegionScans()

' Get the bounds of an AnalysisRegionBase.
Dim theBounds As Integer() = theFirstAnalysisRegionBase.GetBounds()
// Get the area of the AnalysisRegionBase as an array of rectangles.
int[] theArea =
    theFirstAnalysisRegionBase.GetRegionScans();

// Get the bounds of an AnalysisRegionBase.
int[] theBounds = theFirstAnalysisRegionBase.GetBounds();

Plataformas

Windows Vista, Windows XP SP2, Windows Server 2003

.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

AnalysisRegionBase (Clase)

AnalysisRegionBase (Miembros)

System.Windows.Ink.AnalysisCore (Espacio de nombres)

AnalysisRegionBase.GetRegionScans