int64 AdjustViews (string, int[], string)

Moves and resizes existing views.

Security

Trust Level Required: Full Trust

Parameters

Name Description
callbackName string
The name of a callback on your page that you would like KioWare to call when complete.
xywhArr int[]
An array consisting of desired touch surface locations and sizes.
devName (Optional) string
Optional device name from the Config Tool. Default value: null.

Return

The queue id number, or 0.

Remarks

Provided the given xywhArr locations and sizes, moves and resizes existing views. The number of views passed in must match the number created.

Examples


if(!KioTouchDevice.AdjustViews(null, [0,0,10,90, 11,0,10,90]))
	alert('Failed');

Requirements

KioWare for Windows version 8.18 or greater.