Compartir a través de


TabletPropertyDescriptionCollection.InkToDeviceScaleX Property

Gets the conversion factor for the horizontal axis from ink space to digitizer coordinates.

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

Syntax

'Declaration
Public ReadOnly Property InkToDeviceScaleX As Single
'Usage
Dim instance As TabletPropertyDescriptionCollection
Dim value As Single

value = instance.InkToDeviceScaleX
public float InkToDeviceScaleX { get; }
public:
property float InkToDeviceScaleX {
    float get ();
}
/** @property */
public float get_InkToDeviceScaleX ()
public function get InkToDeviceScaleX () : float
Not applicable.

Property Value

The conversion factor for the horizontal axis from ink space to digitizer coordinates.

Remarks

The InkToDeviceScaleX and InkToDeviceScaleY properties affect the internal representation of strokes created with the CreateStroke method.

Multiply the x-coordinate in ink space by this property to get the x-coordinate in digitizer units.

Platforms

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

TabletPropertyDescriptionCollection Class
TabletPropertyDescriptionCollection Members
Microsoft.Ink Namespace
Ink.CreateStroke
TabletPropertyDescriptionCollection.InkToDeviceScaleY