Table of Contents

Interface IHotSpot

Namespace
CADability
Assembly
CADability.dll

Interface implemented by HotSpots.

public interface IHotSpot

Properties

ContextMenu

MenuWithHandler[] ContextMenu { get; }

Property Value

MenuWithHandler[]

Hidden

A hotspot may be hidden if the respective property is readonly

bool Hidden { get; }

Property Value

bool

IsSelected

Sets or gets the selection state of a hotspot

bool IsSelected { get; set; }

Property Value

bool

ResourceId

Get the ResourceId of the Hotspot

string ResourceId { get; }

Property Value

string

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

Level InfoLevelMode

Requested 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

frame IFrame