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.


public class Rectangle : ShapeBase

Name

Description

Rectangle 

Initializes a new instance of a Rectangle object.

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.

Show: