Click or drag to resize

MapRectangleTranslateHorizontally Method

Translates the rectangle horizontally, if it is not empty. The properties West and East are changed.

Namespace:  Ptv.XServer.Controls.Map
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public MapRectangle TranslateHorizontally(
	double translate
)

Parameters

translate
Type: SystemDouble
Amount of translation, positive values shifts the rectangle eastwards, negative values westwards.

Return Value

Type: MapRectangle
The object itself is returned, so it can be reused in the same line of code.
See Also