Skip to main content
A newer version of this page is available. .

MapBounds.Intersect(MapBounds, MapBounds) Method

Returns the map bounds that represent the intersection of two map bounds.

Namespace: DevExpress.Map

Assembly: DevExpress.Map.v20.2.Core.dll

NuGet Packages: DevExpress.Map.Core, DevExpress.WindowsDesktop.Map.Core

Declaration

public static MapBounds Intersect(
    MapBounds rect1,
    MapBounds rect2
)

Parameters

Name Type Description
rect1 MapBounds

The first map bounds.

rect2 MapBounds

The second map bounds.

Returns

Type Description
MapBounds

The map bounds that represent the intersection of two map bounds.

Remarks

If there is no intersection, empty map bounds are returned.

See Also