Show / Hide Table of Contents

Interface IHotSpot

Interface implemented by HotSpots.

Namespace: CADability
Assembly: CADability.dll
Syntax
public interface IHotSpot

Properties

| Improve this Doc View Source

ContextMenu

Declaration
MenuWithHandler[] ContextMenu { get; }
Property Value
Type Description
MenuWithHandler[]
| Improve this Doc View Source

Hidden

A hotspot may be hidden if the respective property is readonly

Declaration
bool Hidden { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsSelected

Sets or gets the selection state of a hotspot

Declaration
bool IsSelected { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

ResourceId

Get the ResourceId of the Hotspot

Declaration
string ResourceId { get; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

GetHotspotPosition()

Gets the position of the HotSpot

Declaration
GeoPoint GetHotspotPosition()
Returns
Type Description
GeoPoint

The position in the world coordinate system

| Improve this Doc View Source

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

| Improve this Doc View Source

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
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX