LocationRect Constructor (Location, Location)

Bing
 

Initializes a new instance of the LocationRect class using the specified locations as northwest and southeast corners of the rectangle.

Namespace:   Microsoft.Maps.MapControl.WPF
Assembly:  Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)

public LocationRect(
	Location corner1,
	Location corner2
)

Parameters

corner1
Type: Microsoft.Maps.MapControl.WPF.Location

The location of the northwest corner of the rectangle.

corner2
Type: Microsoft.Maps.MapControl.WPF.Location

The location of the southeast corner of the rectangle.

Return to top
Show: