Moves the viewport by the given x and y movement values. Changes the ExtraSpace property to allow for infinite viewport panning.

Namespace:  Mindscape.WpfDiagramming.Foundation
Assembly:  Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public void TranslateViewPort(
	double deltaX,
	double deltaY
)
Visual Basic (Declaration)
Public Sub TranslateViewPort ( _
	deltaX As Double, _
	deltaY As Double _
)

Parameters

deltaX
Type: System..::.Double
The distance to move the viewport horizontally.
deltaY
Type: System..::.Double
The distance to move the viewport vertically.

See Also