Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
setCurrentTime

setCurrentTime method

Sets the new current time for this SVG document fragment.

Scalable Vector Graphics: Document Structure, Section 5.11.2Internet Explorer 9

 

Syntax


HRESULT retVal = object.setCurrentTime(seconds);

Parameters

seconds [in]

Type: float

The new current time, in seconds, relative to the start time for the current SVG document fragment.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Standards information

Remarks

If you call the ISVGSVGElement::setCurrentTime method before the document timeline has begun (for example, by a script that is running in a script element before the SVGLoad event for the document is dispatched), the value of seconds during the last call to ISVGSVGElement::setCurrentTime is the current time.

 

 

Community Additions

ADD
Show:
© 2015 Microsoft