IDragAndDropManagerStart Method
Start the drag and drop process for a drag and drop object.
Namespace: PCBI.Automation.DragAndDropAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public void Start(
IDragAndDropObject dragAndDropObject,
List<IPolyClass> neighbours = null,
double minDistance = 0,
double ShowDistance = 0
)
Public Sub Start (
dragAndDropObject As IDragAndDropObject,
Optional neighbours As List(Of IPolyClass) = Nothing,
Optional minDistance As Double = 0,
Optional ShowDistance As Double = 0
)
public:
void Start(
IDragAndDropObject^ dragAndDropObject,
List<IPolyClass^>^ neighbours = nullptr,
double minDistance = 0,
double ShowDistance = 0
)
member Start :
dragAndDropObject : IDragAndDropObject *
?neighbours : List<IPolyClass> *
?minDistance : float *
?ShowDistance : float
(* Defaults:
let _neighbours = defaultArg neighbours null
let _minDistance = defaultArg minDistance 0
let _ShowDistance = defaultArg ShowDistance 0
*)
-> unit
Parameters
- dragAndDropObject IDragAndDropObject
- The current object for moving.
- neighbours ListIPolyClass (Optional)
- All important elements to calculate distances and show helper lines. (If closed polygon => hor/ver Lines of Poly-Bounds are used for Docking, if single Line => Line is directly used for docking)
- minDistance Double (Optional)
- Minimum distances to all neighbours.
- ShowDistance Double (Optional)
- Show distance lines to neighbours in bigger areas to have orientantion while moving the current object.