Interface IWindowTimers

Interface IWindowTimers

Namespace: Aspose.Html.Window
Assembly: Aspose.HTML.dll (25.2.0)

Allows authors to schedule timer-based callbacks.

[ComVisible(true)]
[DOMObject]
[DOMNoInterfaceObject]
public interface IWindowTimers

Methods

ClearInterval(int)

Cancels the timeout set with setInterval() identified by handle

[DOMName("clearInterval")]
void ClearInterval(int handle)

Parameters

handle int

The handle.

ClearTimeout(int)

Cancels the timeout set with setTimeout() identified by handle.

[DOMName("clearTimeout")]
void ClearTimeout(int handle)

Parameters

handle int

The handle.

SetInterval(object, int, params object[])

Schedules a timeout to run handler every timeout milliseconds. Any arguments are passed straight through to the handler.

[DOMName("setInterval")]
int SetInterval(object handler, int timeout, params object[] args)

Parameters

handler object

The handler.

timeout int

The timeout.

args object[]

The arguments.

Returns

int

The handle

SetTimeout(object, int, params object[])

Schedules a timeout to run handler after timeout milliseconds. Any arguments are passed straight through to the handler.

[DOMName("setTimeout")]
int SetTimeout(object handler, int timeout, params object[] args)

Parameters

handler object

The handler.

timeout int

The timeout.

args object[]

The arguments.

Returns

int

The handle