Skip to main content
A newer version of this page is available. .

MapBounds Members

Represents the map bounds.

Constructors

Name Description
MapBounds(CoordPoint, CoordPoint) Initializes a new instance of the MapBounds class with the specified values.
MapBounds(Double, Double, Double, Double) Initializes a new instance of the MapBounds class with the specified values.

Properties

Name Description
Bottom Returns the y-coordinate that is equal to the sum of the upper-left y-coordinate and Height property values.
Empty static Returns a MapBounds object whose settings are not initialized.
Height Gets or sets the height of the map bounds’ bounding box.
IsEmpty Checks whether the numeric map bound parameters are empty.
Left Returns the x-coordinate of the map bounds’ left edge.
Right Returns the x-coordinate of the map bounds’ right edge.
Top Returns the x-coordinate of the map bounds’ top edge.
Width Gets or sets the width of the map bounds’ bounding box.
Zero static Returns a MapBounds object whose parameters (an initial point’s coordinates, width, and height) are set to zero.

Methods

Name Description
Contains(MapBounds) Checks whether the passed map bounds are entirely contained within these map bounds.
Correct() For internal use.
Equals(MapBounds)
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the current object has the same settings as the specified object.
GetHashCode() Returns the hash code for the current MapBounds object.
GetType() Gets the Type of the current instance. Inherited from Object.
Inflate(MapBounds, Double) static Creates and returns an enlarged copy of the specified map bounds.
Intersect(MapBounds, MapBounds) static Returns the map bounds that represent the intersection of two map bounds.
IntersectsWith(MapBounds) Checks whether the map bounds intersect with the given map bounds.
IsPointInBounds(CoordPoint) Checks whether the given point is within the map bounds.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object.
Union(MapBounds, MapBounds) static Returns map bounds that are composed of two given rectangular map bounds.
Union(MapBounds, Double, Double) static Returns map bounds that are composed of the given rectangular map bounds and a point specified by two coordinates.
See Also