MapRectangleIntersect Method |
Updates this rectangle to be the intersection of this and parameter rect.
If either this or rect are empty, the result is empty as well.
Namespace:
Ptv.XServer.Controls.Map
Assembly:
Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax public MapRectangle Intersect(
MapRectangle rect
)
Public Function Intersect (
rect As MapRectangle
) As MapRectangle
public:
MapRectangle^ Intersect(
MapRectangle^ rect
)
member Intersect :
rect : MapRectangle -> MapRectangle
Parameters
- rect
- Type: Ptv.XServer.Controls.MapMapRectangle
The rect to intersect with this.
Return Value
Type:
MapRectangleThe object itself is returned, so it can be reused in the same line of code.
See Also