StylusPointPropertyInfo Constructors
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
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.
Een van de StylusPointPropertyUnit waarden.
- 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)