Поделиться через


Stroke.Move Method

Stroke.Move Method

Applies a translation to the ink of the Stroke object.

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, in ink space coordinates.
offsetY System.Single. The distance to translate the view transform in the Y dimension, in HIMETRIC units, in ink space coordinates.

Examples

[C#]

This C# example moves the ink in a Stroke object, theStroke, 100 HIMETRIC units to the right, in ink space coordinates.

theStroke.Move(100.0f, 0.0f);
                

[VB.NET]

This Microsoft® Visual Basic® .NET example moves the ink in a Stroke object, theStroke, 100 HIMETRIC units to the right, in ink space coordinates.

theStroke.Move(100.0f, 0.0f)
                

See Also