Condividi tramite


Proprietà TabletPropertyDescription.TabletPropertyMetrics

Aggiornamento: novembre 2007

Ottiene la metrica per questa proprietà del pacchetto.

Spazio dei nomi:  Microsoft.Ink
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property TabletPropertyMetrics As TabletPropertyMetrics
'Utilizzo
Dim instance As TabletPropertyDescription
Dim value As TabletPropertyMetrics

value = instance.TabletPropertyMetrics
public TabletPropertyMetrics TabletPropertyMetrics { get; }
public:
property TabletPropertyMetrics TabletPropertyMetrics {
    TabletPropertyMetrics get ();
}
/** @property */
public TabletPropertyMetrics get_TabletPropertyMetrics()
public function get TabletPropertyMetrics () : TabletPropertyMetrics

Valore proprietà

Tipo: Microsoft.Ink.TabletPropertyMetrics
Metrica per questa proprietà del pacchetto.

Note

La metrica descrive l'intervallo, la risoluzione e le unità della proprietà del pacchetto.

Esempi

In questo esempio, viene creato un nuovo oggetto TabletPropertyDescription. La proprietà TabletPropertyMetrics espone l'oggetto TabletPropertyMetrics utilizzato durante la creazione di un'istanza.

Dim defTablet As Tablet = New Tablets().DefaultTablet
Dim Metrics As TabletPropertyMetrics = defTablet.GetPropertyMetrics(PacketProperty.NormalPressure)
Dim tabletPropDesc As TabletPropertyDescription = New TabletPropertyDescription(PacketProperty.NormalPressure, Metrics)
' metrics now accessible via the TabletPropertyMetrics property
Dim min As Integer = tabletPropDesc.TabletPropertyMetrics.Minimum
Tablet defTablet = new Tablets().DefaultTablet;
TabletPropertyMetrics Metrics = defTablet.GetPropertyMetrics(PacketProperty.NormalPressure);
TabletPropertyDescription tabletPropDesc = new TabletPropertyDescription(PacketProperty.NormalPressure, Metrics);
// metrics now accessible via the TabletPropertyMetrics property
int min = tabletPropDesc.TabletPropertyMetrics.Minimum;

Piattaforme

Windows Vista

.NET Framework e .NET Compact Framework non supportano tutte le versioni di ciascuna piattaforma. Per un elenco delle versioni supportate, vedere Requisiti di sistema di .NET Framework.

Informazioni sulla versione

.NET Framework

Supportato in: 3.0

Vedere anche

Riferimenti

TabletPropertyDescription Classe

Membri TabletPropertyDescription

Spazio dei nomi Microsoft.Ink

TabletPropertyMetrics