Click or drag to resize

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
)

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: MapRectangle
The object itself is returned, so it can be reused in the same line of code.
See Also