Strokes.Move Method
Applies a translation to the ink of the Strokes collection.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in microsoft.ink.dll)
Syntax
'Declaration
Public Sub Move ( _
offsetX As Single, _
offsetY As Single _
)
'Usage
Dim instance As Strokes
Dim offsetX As Single
Dim offsetY As Single
instance.Move(offsetX, offsetY)
public void Move (
float offsetX,
float offsetY
)
public:
void Move (
float offsetX,
float offsetY
)
public void Move (
float offsetX,
float offsetY
)
public function Move (
offsetX : float,
offsetY : float
)
Not applicable.
Parameters
- offsetX
The distance to translate the view transform in the X dimension, in HIMETRIC units and in ink space coordinates.
- offsetY
The distance to translate the view transform in the Y dimension, in HIMETRIC units and in ink space coordinates.
Example
This C# example moves all the ink for an InkOverlay object, theInkOverlay
, 100 HIMETRIC units to the right, in ink space coordinates.
theInkOverlay.Ink.Strokes.Move(100.0f, 0.0f);
This Microsoft Visual Basic.NET example moves all the ink for an InkOverlay object, theInkOverlay
, 100 HIMETRIC units to the right, in ink space coordinates.
theInkOverlay.Ink.Strokes.Move(100.0f, 0.0f)
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
Strokes Class
Strokes Members
Microsoft.Ink Namespace
Microsoft.Ink.Strokes.Transform
Stroke.Move