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
)
Public Function TranslateHorizontally (
translate As Double
) As MapRectangle
public:
MapRectangle^ TranslateHorizontally(
double translate
)
member TranslateHorizontally :
translate : float -> MapRectangle
Parameters
- translate
- Type: SystemDouble
Amount of translation, positive values shifts the rectangle eastwards, negative values westwards.
Return Value
Type:
MapRectangleThe object itself is returned, so it can be reused in the same line of code.
See Also