LocationRect Members

This documentation is no longer available on MSDN, however it is available as a CHM download.

Represents a rectangle on the map.

The following tables list the members exposed by the LocationRect type.

Public Constructors

  Name Description
LocationRect Overloaded. Initializes a new instance of the LocationRect class.

Top

Public Properties

  Name Description
public property Center Gets the location of the center of the rectangle.
public property East Gets or sets the longitude of the eastern border of the rectangle.
public property Height Gets the height of the location rectangle.
public property North Gets or sets the latitude of the northern border of the rectangle.
public property Northeast Gets or sets the location of the northeast corner of the rectangle.
public property Northwest Gets the location or the northwest corner of the rectangle.
public property South Gets or sets the latitude of the southern border of the rectangle.
public property Southeast Gets the location of the southeast corner of the rectangle.
public property Southwest Gets or sets the location of the southwest corner of the rectangle.
public property West Gets or sets the longitude of the western border of the rectangle.
public property Width Gets or sets the width of the rectangle.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Equals Overloaded. Determines whether this location rectangle is equal to a given object.
public method GetHashCode Overridden. Retrieves the hash code for this location rectangle.
public method GetType  (inherited from Object)
public method Intersection Retrieves the intersection rectangle of this location rectangle and the specified location rectangle.
public method Intersects Determines whether this location rectangle intersects with the specified location rectangle.
public methodstatic Equality Determines whether two location rectangle instances are equal.
public methodstatic Inequality Determines whether two location rectangle instances are not equal.
public method ToString Overloaded. Overridden. Converts the location rectangle to a string.

Top

Protected Methods

  Name Description
protected method Finalize  (inherited from Object)
protected method MemberwiseClone  (inherited from Object)

Top

Explicit Interface Implementations

  Name Description
ToString Converts the location rectangle to a formatted string containing the latitude, longitude, and altitude of each corner using an explicitly defined IFormattable.ToString implementation.

Top

See Also

Reference

LocationRect Class
Microsoft.Maps.MapControl Namespace