scrollTo

sets the inner scroll of the diagram to the specified position

void scrollTo(number x,number y);

Parameters

xnumberhorizontal scroll position
ynumbervertical scroll position

Example

diagram.scrollTo(100, 80);

See also
Back to top