CitrixVirtualUserScript MouseDrag Method (Int32, Int32, Int32, Int32, Int32, Int32)C# API
Drag the mouse to a point on the screen.

Namespace: Facilita.Fc.Citrix
Assembly: fcCitrix (in fcCitrix.dll) Version: 9.5.7.98
Syntax

public void MouseDrag(
	int buttonId,
	int modifiers,
	int startXPos,
	int startYPos,
	int endXPos,
	int endYPos
)

Parameters

buttonId
Type: System Int32
The mouse button to hold down whilst dragging the mouse
modifiers
Type: System Int32
Any key modifiers to apply whilst dragging the mouse
startXPos
Type: System Int32
The X position to start from
startYPos
Type: System Int32
The Y position to start from
endXPos
Type: System Int32
The X position to end at
endYPos
Type: System Int32
The Y position to end at
Remarks

You can adjust the speed at which the mouse moves by altering the DefaultWorkInterval
See Also