LocationRect Constructor (Location, Location)
This documentation is no longer available on MSDN, however it is available as a CHM download.
Initializes a new instance of the LocationRect class using the specified locations as northwest and southeast corners of the rectangle.
Namespace: Microsoft.Maps.MapControl
Assembly: Microsoft.Maps.MapControl.Common (in Microsoft.Maps.MapControl.Common.dll)
Usage
Syntax
'Declaration
Public Sub New ( _
corner1 As Location, _
corner2 As Location _
)
public LocationRect (
Location corner1,
Location corner2
)
public:
LocationRect (
Location^ corner1,
Location^ corner2
)
public LocationRect (
Location corner1,
Location corner2
)
public function LocationRect (
corner1 : Location,
corner2 : Location
)
Parameters
- corner1
The location of the northwest corner of the rectangle.
- corner2
The location of the southeast corner of the rectangle.
Platforms
Development Platforms
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Target Platforms
See Also
Reference
LocationRect Class
LocationRect Members
Microsoft.Maps.MapControl Namespace