PixelRectangle Class
Contains the definition of a rectangle on a map image. It is used to contain the perimeter of a pushpin icon (HotArea.IconRectangle property) or label (HotArea.LabelRectangle property) used when creating a hot area for a clickable map.
Public Class PixelRectangle
Member of [Namespace]
[C#]
public class PixelRectangle : System.Object
Member of [Namespace]
Public Properties
Bottom | The pixel position for the bottom extent of the rectangle measured from the upper-left corner of the image. Integer. |
Left | The pixel position for the left-most extent of the rectangle measured from the upper-left corner of the image. Integer. |
Right | The pixel position for the right-most extent of the rectangle measured from the upper-left corner of the image. Integer. |
Top | The pixel position for the top extent of the rectangle measured from the upper-left corner of the image. Integer. |
Remarks
- The PixelRectangle class is used with the IconRectangle and LabelRectangle properties of the HotArea class, which is returned in the MapImage.HotAreas property from the RenderServiceSoap.GetMap method.
See Also
HotArea.IconRectangle Property | HotArea.LabelRectangle Property | HotArea Class | MapImage.HotAreas Property | RenderServiceSoap.GetMap Method