다음을 통해 공유


TabletPropertyDescription.TabletPropertyMetrics 속성

업데이트: 2007년 11월

이 패킷 속성의 메트릭을 가져옵니다.

네임스페이스:  Microsoft.Ink
어셈블리:  Microsoft.Ink(Microsoft.Ink.dll)

구문

‘선언
Public ReadOnly Property TabletPropertyMetrics As TabletPropertyMetrics
‘사용 방법
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

속성 값

형식: Microsoft.Ink.TabletPropertyMetrics
이 패킷 속성의 메트릭입니다.

설명

메트릭은 패킷 속성의 범위, 해상도 및 단위를 설명합니다.

예제

이 예제에서는 새 TabletPropertyDescription 개체를 만듭니다. TabletPropertyMetrics 속성은 인스턴스화하는 동안 사용된 TabletPropertyMetrics 개체를 노출합니다.

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;

플랫폼

Windows Vista

.NET Framework 및 .NET Compact Framework에서 모든 플랫폼의 전체 버전을 지원하지는 않습니다. 지원되는 버전의 목록을 보려면 .NET Framework 시스템 요구 사항을 참조하십시오.

버전 정보

.NET Framework

3.0에서 지원

참고 항목

참조

TabletPropertyDescription 클래스

TabletPropertyDescription 멤버

Microsoft.Ink 네임스페이스

TabletPropertyMetrics