Upraviť

Zdieľať cez


StylusPointPropertyInfo Constructors

Definition

Initializes a new instance of the StylusPointPropertyInfo class.

Overloads

StylusPointPropertyInfo(StylusPointProperty)

Initializes a new instance of the StylusPointPropertyInfo class.

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

Initializes a new instance of the StylusPointPropertyInfo class using the specified values.

StylusPointPropertyInfo(StylusPointProperty)

Initializes a new instance of the StylusPointPropertyInfo class.

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

The StylusPointProperty to base the new StylusPointProperty on.

Examples

The following example demonstrates how to create a new 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)

Applies to

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

Initializes a new instance of the StylusPointPropertyInfo class using the specified values.

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

The StylusPointProperty to base the new StylusPointProperty on.

minimum
Int32

The minimum value accepted for the StylusPoint property.

maximum
Int32

The maximum value accepted for the StylusPoint property.

resolution
Single

The scale that converts a StylusPoint property value into its units.

Examples

The following example demonstrates how to create a new 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)

Applies to