LocationRect Constructor (Location, Location)
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)
Syntax
public LocationRect(
Location corner1,
Location corner2
)
public:
LocationRect(
Location^ corner1,
Location^ corner2
)
new :
corner1:Location *
corner2:Location -> LocationRect
Public Sub New (
corner1 As Location,
corner2 As Location
)
Parameters
corner1
Type: Microsoft.Maps.MapControl.WPF.LocationThe location of the northwest corner of the rectangle.
corner2
Type: Microsoft.Maps.MapControl.WPF.LocationThe location of the southeast corner of the rectangle.
See Also
LocationRect Overload
LocationRect Class
Microsoft.Maps.MapControl.WPF Namespace
Return to top