共用方式為


StylusPointPropertyInfo 建構函式

定義

初始化 StylusPointPropertyInfo 類別的新執行個體。

多載

StylusPointPropertyInfo(StylusPointProperty)

初始化 StylusPointPropertyInfo 類別的新執行個體。

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

使用指定的值,初始化 StylusPointPropertyInfo 類別的新執行個體。

StylusPointPropertyInfo(StylusPointProperty)

初始化 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)

參數

stylusPointProperty
StylusPointProperty

要根據於新 StylusPointPropertyStylusPointProperty

範例

下列範例示範如何建立新的 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)

適用於

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

使用指定的值,初始化 StylusPointPropertyInfo 類別的新執行個體。

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)

參數

stylusPointProperty
StylusPointProperty

要根據於新 StylusPointPropertyStylusPointProperty

minimum
Int32

StylusPoint 屬性可接受的最小值。

maximum
Int32

StylusPoint 屬性可接受的最大值。

resolution
Single

StylusPoint 屬性值轉換到其單元的比例。

範例

下列範例示範如何建立新的 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)

適用於