Interface IHotSpot
Interface implemented by HotSpots.
Namespace: CADability
Assembly: CADability.dll
Syntax
public interface IHotSpot
Properties
| Improve this Doc View SourceContextMenu
Declaration
MenuWithHandler[] ContextMenu { get; }
Property Value
| Type | Description |
|---|---|
| MenuWithHandler[] |
Hidden
A hotspot may be hidden if the respective property is readonly
Declaration
bool Hidden { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
IsSelected
Sets or gets the selection state of a hotspot
Declaration
bool IsSelected { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
ResourceId
Get the ResourceId of the Hotspot
Declaration
string ResourceId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
| Improve this Doc View SourceGetHotspotPosition()
Gets the position of the HotSpot
Declaration
GeoPoint GetHotspotPosition()
Returns
| Type | Description |
|---|---|
| GeoPoint | The position in the world coordinate system |
GetInfoText(InfoLevelMode)
Returns the info text to be displayed in the ToolTip.
Declaration
string GetInfoText(InfoLevelMode Level)
Parameters
| Type | Name | Description |
|---|---|---|
| InfoLevelMode | Level | Requested info level (simple info or detailed info) |
Returns
| Type | Description |
|---|---|
| System.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.
Declaration
void StartDrag(IFrame frame)
Parameters
| Type | Name | Description |
|---|---|---|
| IFrame | frame |