Share via


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

See Also

LocationRect Overload
LocationRect Class
Microsoft.Maps.MapControl.WPF Namespace

Return to top