MapRectangleInflate Method (Double, Double) |
Inflates the object horizontally and vertically by specifying two different factors for each dimension.
The width and height of the rectangle is multiplied by these factors.
Namespace:
Ptv.XServer.Controls.Map
Assembly:
Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax public MapRectangle Inflate(
double horizontal,
double vertical
)
Public Function Inflate (
horizontal As Double,
vertical As Double
) As MapRectangle
public:
MapRectangle^ Inflate(
double horizontal,
double vertical
)
member Inflate :
horizontal : float *
vertical : float -> MapRectangle
Parameters
- horizontal
- Type: SystemDouble
Factor which specifies the new value of the property Width. - vertical
- Type: SystemDouble
Factor which specifies the new value of the property Height.
Return Value
Type:
MapRectangleThe object itself is returned, so it can be reused in the same line of code.
See Also