StylusPoint.GetPropertyValue(StylusPointProperty) 메서드

정의

지정한 속성의 값을 반환합니다.

public:
 int GetPropertyValue(System::Windows::Input::StylusPointProperty ^ stylusPointProperty);
public int GetPropertyValue (System.Windows.Input.StylusPointProperty stylusPointProperty);
member this.GetPropertyValue : System.Windows.Input.StylusPointProperty -> int
Public Function GetPropertyValue (stylusPointProperty As StylusPointProperty) As Integer

매개 변수

stylusPointProperty
StylusPointProperty

가져올 속성 값을 지정하는 StylusPointProperty입니다.

반환

지정된 StylusPointProperty의 값입니다.

예외

stylusPointPropertyDescription의 속성 중 하나가 아닌 경우

예제

다음 예제에서는 속성의 값을 가져오기 전에 스타일러스 지점 속성이 있는지 확인 합니다. 이 예제에서는 있다고 가정를 StylusPoint 호출 point합니다.

if (point.HasProperty(StylusPointProperties.PitchRotation))
{
    int pitchRotation = point.GetPropertyValue(StylusPointProperties.PitchRotation);
}
If point.HasProperty(StylusPointProperties.PitchRotation) Then
    Dim pitchRotation As Integer = _
            point.GetPropertyValue(StylusPointProperties.PitchRotation)
End If

설명

검사할 여부를 StylusPoint 호출 지정된 된 속성을 포함 합니다 HasProperty 중 하나를 호출 하기 전에 GetPropertyValue 메서드 또는 SetPropertyValue 메서드.

적용 대상