StylusPointPropertyInfo Constructeurs

Définition

Initialise une nouvelle instance de la classe StylusPointPropertyInfo.

Surcharges

Nom Description
StylusPointPropertyInfo(StylusPointProperty)

Initialise une nouvelle instance de la classe StylusPointPropertyInfo.

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

Initialise une nouvelle instance de la StylusPointPropertyInfo classe à l’aide des valeurs spécifiées.

StylusPointPropertyInfo(StylusPointProperty)

Initialise une nouvelle instance de la classe StylusPointPropertyInfo.

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)

Paramètres

stylusPointProperty
StylusPointProperty

Pour StylusPointProperty baser le nouveau StylusPointProperty sur.

Exemples

L’exemple suivant montre comment créer un nouveau StylusPointPropertyInfo.

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

S’applique à

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

Initialise une nouvelle instance de la StylusPointPropertyInfo classe à l’aide des valeurs spécifiées.

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)

Paramètres

stylusPointProperty
StylusPointProperty

Pour StylusPointProperty baser le nouveau StylusPointProperty sur.

minimum
Int32

Valeur minimale acceptée pour la StylusPoint propriété.

maximum
Int32

Valeur maximale acceptée pour la StylusPoint propriété.

resolution
Single

Échelle qui convertit une StylusPoint valeur de propriété en ses unités.

Exemples

L’exemple suivant montre comment créer un nouveau StylusPointPropertyInfo.

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

S’applique à