LocationRect Class

Bing
 

Represents a rectangle on the map.

Namespace:   Microsoft.Maps.MapControl.WPF
Assembly:  Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)

System.Object
  Microsoft.Maps.MapControl.WPF.LocationRect

[<TypeConverterAttribute(typeof(LocationRectConverter))>]
type LocationRect = 
    class
        interface IFormattable
    end

NameDescription
System_CAPS_pubmethodLocationRect()

Initializes a new instance of the LocationRect class.

System_CAPS_pubmethodLocationRect(Double, Double, Double, Double)

Initializes a new instance of the LocationRect class using the specified borders.

System_CAPS_pubmethodLocationRect(IList<Location>)

Initializes a new instance of the LocationRect class using the specified collection of locations.

System_CAPS_pubmethodLocationRect(Location, Double, Double)

Initializes a new instance of the LocationRect class, centered on the specified location.

System_CAPS_pubmethodLocationRect(Location, Location)

Initializes a new instance of the LocationRect class using the specified locations as northwest and southeast corners of the rectangle.

System_CAPS_pubmethodLocationRect(LocationRect)

Initializes a new instance of the LocationRect class.

NameDescription
System_CAPS_pubpropertyCenter

Gets the location of the center of the rectangle.

System_CAPS_pubpropertyEast

Gets or sets the longitude of the eastern border of the rectangle.

System_CAPS_pubpropertyHeight

Gets the height of the location rectangle.

System_CAPS_pubpropertyNorth

Gets or sets the latitude of the northern border of the rectangle.

System_CAPS_pubpropertyNortheast

Gets or sets the location of the northeast corner of the rectangle.

System_CAPS_pubpropertyNorthwest

Gets the location or the northwest corner of the rectangle.

System_CAPS_pubpropertySouth

Gets or sets the latitude of the southern border of the rectangle.

System_CAPS_pubpropertySoutheast

Gets the location of the southeast corner of the rectangle.

System_CAPS_pubpropertySouthwest

Gets or sets the location of the southwest corner of the rectangle.

System_CAPS_pubpropertyWest

Gets or sets the longitude of the western border of the rectangle.

System_CAPS_pubpropertyWidth

Gets or sets the width of the rectangle.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether this location rectangle is equal to the specified object.(Overrides Object.Equals(Object).)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Retrieves the hash code for this location rectangle.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIntersection(LocationRect)

Retrieves the intersection rectangle of this location rectangle and the specified location rectangle.

System_CAPS_pubmethodIntersects(LocationRect)

Determines whether this location rectangle intersects with the specified location rectangle.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Converts the location rectangle to a formatted string containing the latitude, longitude, and altitude values of its corners.(Overrides Object.ToString().)

System_CAPS_pubmethodToString(IFormatProvider)

Converts the location rectangle to a formatted string containing the latitude, longitude, and altitude values of its corners using a given format provider.

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(LocationRect, LocationRect)

Determines whether two location rectangle instances are equal.

System_CAPS_puboperatorSystem_CAPS_staticInequality(LocationRect, LocationRect)

Determines whether two location rectangle instances are not equal.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: