Interface IHotSpot
- Namespace
- CADability
- Assembly
- CADability.dll
Interface implemented by HotSpots.
public interface IHotSpot
Properties
ContextMenu
MenuWithHandler[] ContextMenu { get; }
Property Value
Hidden
A hotspot may be hidden if the respective property is readonly
bool Hidden { get; }
Property Value
IsSelected
Sets or gets the selection state of a hotspot
bool IsSelected { get; set; }
Property Value
ResourceId
Get the ResourceId of the Hotspot
string ResourceId { get; }
Property Value
Methods
GetHotspotPosition()
Gets the position of the HotSpot
GeoPoint GetHotspotPosition()
Returns
- GeoPoint
The position in the world coordinate system
GetInfoText(InfoLevelMode)
Returns the info text to be displayed in the ToolTip.
string GetInfoText(InfoLevelMode Level)
Parameters
LevelInfoLevelModeRequested info level (simple info or detailed info)
Returns
- string
The info string
StartDrag(IFrame)
Called when the user starts dragging a hotspot, i.e. the left mouse button is pushed while the mouse position leaves the hotspot square.
void StartDrag(IFrame frame)
Parameters
frameIFrame