System.Web.UI.WebControls.RectangleHotSpot.GetCoordinates Method

Returns a string that represents the x -and y-coordinates of a System.Web.UI.WebControls.RectangleHotSpot object's top left corner and the x- and y-coordinates of its bottom right corner.

Syntax

public override string GetCoordinates ()

Returns

A string that represents the x- and y-coordinates of a System.Web.UI.WebControls.RectangleHotSpot object's top left corner and the x- and y-coordinates of its bottom right corner.

Remarks

This method returns a string that represents the coordinates of a System.Web.UI.WebControls.RectangleHotSpot object's top left corner and the coordinates of its bottom right corner. This method uses the values assigned to the RectangleHotSpot.Left and RectangleHotSpot.Top properties to return the coordinates for the top left corner. It uses the values assigned to the RectangleHotSpot.Right and RectangleHotSpot.Bottom properties to return the coordinates for the bottom right corner.

The RectangleHotSpot.GetCoordinates method is used internally by ASP.NET to get the text to use for the coordinates of a System.Web.UI.WebControls.RectangleHotSpot when it is rendered. The string that is returned is specific to the browser and markup language.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0