Rectangle Class

 

This documentation is no longer available on MSDN. It is available as a CHM or PDF download. For the newest Geocoding, Imagery, Routing and Traffic services, see Bing Maps REST Services. 

Represents a rectangle on the map. This class inherits from the ShapeBase Class.

Syntax

public class Rectangle : ShapeBase
Public Class Rectangle Inherits ShapeBase

Constructor

Name

Description

Rectangle 

Initializes a new instance of a Rectangle object.

Public Properties

Name

Description

Northeast 

A Location Class object specifying the upper-right corner of the rectangle. Required.

Southwest 

A Location Class object specifying the lower-left corner of the rectangle. Required.

See Also

UserProfile.MapView Property
GeocodeResult.BestView Property
RouteSummary.BoundingRectangle Property