ESRI.ArcGIS.ADF.IMS
Hotspot Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.IMS.Display.Symbol Namespace > RasterMarkerSymbol Class : Hotspot Property




Gets or sets where the marker symbol is placed in relation to actual location of the point.

Syntax

Visual Basic (Declaration) 
Public Property Hotspot As Point
Visual Basic (Usage)Copy Code
Dim instance As RasterMarkerSymbol
Dim value As Point
 
instance.Hotspot = value
 
value = instance.Hotspot
C# 
public Point Hotspot {get; set;}

Example

For an example of using this property, see the RasterMarkerSymbol overview .

Remarks

X, Y coordinates are positive and measured in pixels. A hotspot of 0,0 places the point at the top left corner of the marker symbol. The default hotspot centers the marker symbol over the point based on its actual size. For example, if a marker symbol is 16x16 pixels, the default location is 8,8. If the height and width properties of this image are changed to 32x32, the default hotspot center is still 8,8.

This property is ignored by ArcMap Server image services.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.