Freigeben über


TabletPropertyDescriptionCollection.TabletPropertyDescriptionCollection Constructor

TabletPropertyDescriptionCollection.TabletPropertyDescriptionCollection Constructor

Initializes a new instance of the TabletPropertyDescriptionCollection collection that uses the specified conversion factors for ink space to digitizer coordinates.

Definition

Visual Basic .NET Public Sub TabletPropertyDescriptionCollection( _
ByVal inkToDeviceScaleX As Single, _
ByVal inkToDeviceScaleY As Single _
)
C# public TabletPropertyDescriptionCollection(
float inkToDeviceScaleX,
float inkToDeviceScaleY
);
Managed C++ public: TabletPropertyDescriptionCollection(
float *inkToDeviceScaleX,
float *inkToDeviceScaleY
);

Parameters

inkToDeviceScaleX System.Single. The horizontal, or x-axis, conversion factor.
inkToDeviceScaleY System.Single. The vertical, or y-axis, conversion factor.

Exceptions

ArgumentException Leave Site: The inkToDeviceScaleX or inkToDeviceScaleY parameter is 0.0.

Remarks

The InkToDeviceScaleX property is set to the inkToDeviceScaleX parameter. The InkToDeviceScaleY property is set to the inkToDeviceScaleY parameter.

Use the TabletPropertyDescriptionCollection() constructor to use the default conversion factors. Use the TabletPropertyDescriptionCollection(Single,Single) constructor to use other conversion factors.

See Also