Click or drag to resize

APIDragAndDrop Method

Drags and drops from the specified origin X/Y coordinates to the specified destination X/Y coordinates on the screen.

Namespace:  AppRobotic
Assembly:  AppRobotic (in AppRobotic.dll) Version: 15.21.3.21 (15.21.03.21)
Syntax
C#
public string DragAndDrop(
	int OriginX,
	int OriginY,
	int DestinationX,
	int DestinationY
)

Parameters

OriginX
Type: SystemInt32
Pick up item from this X coordinate.
OriginY
Type: SystemInt32
Pick up item from this Y coordiante.
DestinationX
Type: SystemInt32
Drag and drop matching image to this X coordinate on the screen.
DestinationY
Type: SystemInt32
Drag and drop matching image to this Y coordinate on the screen.

Return Value

Type: String
Returns string containing 'success' or error message.
See Also