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
)
Public Function Union (
rect As MapRectangle
) As MapRectangle
public:
MapRectangle^ Union(
MapRectangle^ rect
)
member Union :
rect : MapRectangle -> MapRectangle
Parameters
- rect
- Type: Ptv.XServer.Controls.MapMapRectangle
The rectangle to 'incorporate' into this object.
Return Value
Type:
MapRectangleThe object itself is returned, so it can be reused in the same line of code.
See Also