Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Applies a translation to the GetViewTransform in ink space coordinates.
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 Renderer
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 function Move(
offsetX : float,
offsetY : float
)
Parameters
offsetX
Type: System.SingleThe amount to translate the view transform in the X dimension, in ink space coordinates.
offsetY
Type: System.SingleThe amount to translate the view transform in the Y dimension, in ink space coordinates.
Examples
This C# example saves the current view transform matrix from the Renderer object in the InkCollector, theInkCollector, and then applies a translation to it.
using System.Drawing.Drawing2D;
...
Matrix theOldMatrix = new Matrix();
theInkCollector.Renderer.GetViewTransform(ref theOldMatrix);
theInkCollector.Renderer.Move(140.0f, 140.0f);
This Microsoft® Visual Basic® .NET example saves the current view transform matrix from the Renderer object in the InkCollector, theInkCollector, and then applies a translation to it.
Imports System.Drawing.Drawing2D
...
Dim theOldMatrix As New Matrix()
theInkCollector.Renderer.GetViewTransform(theOldMatrix)
theInkCollector.Renderer.Move(140.0, 140.0)
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