MapRectangleTranslateVertically Method |
Translates the rectangle vertically, if it is not empty. The properties
South and
North 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 TranslateVertically(
double translate
)
Public Function TranslateVertically (
translate As Double
) As MapRectangle
public:
MapRectangle^ TranslateVertically(
double translate
)
member TranslateVertically :
translate : float -> MapRectangle
Parameters
- translate
- Type: SystemDouble
Amount of translation, positive values shifts the rectangle northwards, negative values southwards.
Return Value
Type:
MapRectangleThe object itself is returned, so it can be reused in the same line of code.
See Also