Strokes.Move Method

Strokes.Move Method

Applies a translation to the ink of the Strokes collection.

Definition

Visual Basic .NET Public Sub Move( _
ByVal offsetX As Single, _
ByVal offsetY As Single _
)
C# public void Move(
float offsetX,
float offsetY
);
Managed C++ public: void Move(
float *offsetX,
float *offsetY
);

Parameters

offsetX System.Single. The distance to translate the view transform in the X dimension, in HIMETRIC units and in ink space coordinates.
offsetY System.Single. The distance to translate the view transform in the Y dimension, in HIMETRIC units and in ink space coordinates.

Exceptions

ObjectDisposedException Leave Site: The Strokes collection is disposed.

Examples

[C#]

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);
                

[VB.NET]

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)
                

See Also