Click or drag to resize

MapRectangleUnion Method (MapRectangle)

Updates this rectangle to be the union of this and parameter rect. I.e. the rectangle boundaries of this and rect are included in the new boundaries. If rect is empty, the boundaries remain unchanged. If this is empty, the new boundaries are adapted to the rect's boundaries.

Namespace:  Ptv.XServer.Controls.Map
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public MapRectangle Union(
	MapRectangle rect
)

Parameters

rect
Type: Ptv.XServer.Controls.MapMapRectangle
The rectangle to 'incorporate' into this object.

Return Value

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