Share via


TabletPropertyDescriptionCollection Constructor (Single, Single)

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

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

Syntax

'Declaration
Public Sub New ( _
    inkToDeviceScaleX As Single, _
    inkToDeviceScaleY As Single _
)
'Usage
Dim inkToDeviceScaleX As Single 
Dim inkToDeviceScaleY As Single 

Dim instance As New TabletPropertyDescriptionCollection(inkToDeviceScaleX, _
    inkToDeviceScaleY)
public TabletPropertyDescriptionCollection(
    float inkToDeviceScaleX,
    float inkToDeviceScaleY
)
public:
TabletPropertyDescriptionCollection(
    float inkToDeviceScaleX, 
    float inkToDeviceScaleY
)
public function TabletPropertyDescriptionCollection(
    inkToDeviceScaleX : float, 
    inkToDeviceScaleY : float
)

Parameters

  • inkToDeviceScaleX
    Type: System.Single

    The horizontal, or x-axis, conversion factor.

  • inkToDeviceScaleY
    Type: System.Single

    The vertical, or y-axis, conversion factor.

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.

Platforms

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

TabletPropertyDescriptionCollection Class

TabletPropertyDescriptionCollection Members

TabletPropertyDescriptionCollection Overload

Microsoft.Ink Namespace

TabletPropertyDescription

CreateStroke