MapMatrix NetGIS Class Library

Command.Pan Method 

Pan map image by a given delta (in pixels) This method will force a Update.

public void Pan(
   int x1,
   int y1,
   int x2,
   int y2
);

Parameters

x1
Start x, coordinate to pan from
y1
Start y, coordinate to pan from
x2
End x, coordinate to pan to
y2
End y, coordinate to pan to

See Also

Command Class | MapMatrix.MapControls Namespace