CitrixVirtualUser MouseDrag Method (MouseButton, KeyModifier, 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.4.0.26
Syntax

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

Parameters

buttonId
Type: Facilita.Fc.Citrix MouseButton
The mouse button to hold down whilst dragging the mouse
modifiers
Type: Facilita.Fc.Citrix KeyModifier
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
pause
Type: System Int32
The number of milliseconds to wait once the mouse drag is complete
Remarks

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