StylusPointPropertyInfo Constructors

Definitie

Initialiseert een nieuw exemplaar van de StylusPointPropertyInfo klasse.

Overloads

Name Description
StylusPointPropertyInfo(StylusPointProperty)

Initialiseert een nieuw exemplaar van de StylusPointPropertyInfo klasse.

StylusPointPropertyInfo(StylusPointProperty, Int32, Int32, StylusPointPropertyUnit, Single)

Initialiseert een nieuw exemplaar van de StylusPointPropertyInfo klasse met behulp van de opgegeven waarden.

StylusPointPropertyInfo(StylusPointProperty)

Initialiseert een nieuw exemplaar van de StylusPointPropertyInfo klasse.

public:
 StylusPointPropertyInfo(System::Windows::Input::StylusPointProperty ^ stylusPointProperty);
public StylusPointPropertyInfo(System.Windows.Input.StylusPointProperty stylusPointProperty);
new System.Windows.Input.StylusPointPropertyInfo : System.Windows.Input.StylusPointProperty -> System.Windows.Input.StylusPointPropertyInfo
Public Sub New (stylusPointProperty As StylusPointProperty)

Parameters

stylusPointProperty
StylusPointProperty

De StylusPointProperty basis van het nieuwe StylusPointProperty .

Voorbeelden

In het volgende voorbeeld ziet u hoe u een nieuwe StylusPointPropertyInfomaakt.

StylusPointPropertyInfo XTiltPropertyInfo = 
    new StylusPointPropertyInfo(StylusPointProperties.XTiltOrientation,
                       0, 3600, StylusPointPropertyUnit.Degrees, 10f);
Dim XTiltPropertyInfo As New StylusPointPropertyInfo( _
                        StylusPointProperties.XTiltOrientation, 0, 3600, _
                        StylusPointPropertyUnit.Degrees, 10.0F)

Van toepassing op

StylusPointPropertyInfo(StylusPointProperty, Int32, Int32, StylusPointPropertyUnit, Single)

Initialiseert een nieuw exemplaar van de StylusPointPropertyInfo klasse met behulp van de opgegeven waarden.

public:
 StylusPointPropertyInfo(System::Windows::Input::StylusPointProperty ^ stylusPointProperty, int minimum, int maximum, System::Windows::Input::StylusPointPropertyUnit unit, float resolution);
public StylusPointPropertyInfo(System.Windows.Input.StylusPointProperty stylusPointProperty, int minimum, int maximum, System.Windows.Input.StylusPointPropertyUnit unit, float resolution);
new System.Windows.Input.StylusPointPropertyInfo : System.Windows.Input.StylusPointProperty * int * int * System.Windows.Input.StylusPointPropertyUnit * single -> System.Windows.Input.StylusPointPropertyInfo
Public Sub New (stylusPointProperty As StylusPointProperty, minimum As Integer, maximum As Integer, unit As StylusPointPropertyUnit, resolution As Single)

Parameters

stylusPointProperty
StylusPointProperty

De StylusPointProperty basis van het nieuwe StylusPointProperty .

minimum
Int32

De minimale waarde die voor de StylusPoint eigenschap is geaccepteerd.

maximum
Int32

De maximumwaarde die voor de StylusPoint eigenschap is geaccepteerd.

resolution
Single

De schaal waarmee een StylusPoint eigenschapswaarde wordt geconverteerd naar de eenheden.

Voorbeelden

In het volgende voorbeeld ziet u hoe u een nieuwe StylusPointPropertyInfomaakt.

StylusPointPropertyInfo XTiltPropertyInfo = 
    new StylusPointPropertyInfo(StylusPointProperties.XTiltOrientation,
                       0, 3600, StylusPointPropertyUnit.Degrees, 10f);
Dim XTiltPropertyInfo As New StylusPointPropertyInfo( _
                        StylusPointProperties.XTiltOrientation, 0, 3600, _
                        StylusPointPropertyUnit.Degrees, 10.0F)

Van toepassing op