IDragAndDropManagerStart Method

Start the drag and drop process for a drag and drop object.

Definition

Namespace: PCBI.Automation.DragAndDrop
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public void Start(
	IDragAndDropObject dragAndDropObject,
	List<IPolyClass> neighbours = null,
	double minDistance = 0,
	double ShowDistance = 0
)

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.

See Also