LocationRect Constructor (Location, Double, Double)
Initializes a new instance of the LocationRect class, centered on the specified location.
Namespace: Microsoft.Maps.MapControl.WPF
Assembly: Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)
Syntax
public LocationRect(
Location center,
double width,
double height
)
public:
LocationRect(
Location^ center,
double width,
double height
)
new :
center:Location *
width:float *
height:float -> LocationRect
Public Sub New (
center As Location,
width As Double,
height As Double
)
Parameters
center
Type: Microsoft.Maps.MapControl.WPF.LocationThe location of the center of the rectangle.
width
Type: System.DoubleThe width of the rectangle.
height
Type: System.DoubleThe height of the rectangle.
See Also
LocationRect Overload
LocationRect Class
Microsoft.Maps.MapControl.WPF Namespace
Return to top