ITIMEElement interface

[ITIMEElement may be altered or unavailable in subsequent versions of the operating system or product.]

Exposes methods to manipulate the time node.

Members

The ITIMEElement interface inherits from the IDispatch interface. ITIMEElement also has these types of members:

  • Methods
  • Properties

Methods

The ITIMEElement interface has these methods.

Method Description
activeTimeToParentTime

Converts a value in the element's active timeline to the corresponding point in the parent timeline.

activeTimeToSegmentTime

Converts a value in the element's active timeline to the corresponding point in the segment timeline.

beginElement

Starts the element on the timeline.

beginElementAt

Starts an element's timeline at the specified time.

documentTimeToParentTime

Converts a value in the document timeline to the corresponding point in the element's parent timeline.

endElement

Stops the element on the timeline.

endElementAt

Ends an element's timeline at the specified time.

nextElement

Advances the timeline so that the next element in the sequence begins playing.

parentTimeToActiveTime

Converts a value in the parent timeline to the corresponding point in the element's active timeline.

parentTimeToDocumentTime

Converts a value in the element's parent timeline to the corresponding point in the document timeline.

pauseElement

Stops playing an element's timeline at the current point.

prevElement

Resets the timeline so that the previous element in the sequence begins playing.

resetElement

Removes any changes made to the element and returns the element to its original state.

resumeElement

Restarts the element's timeline from a paused state.

seekActiveTime

Locates a specified point on the element's active timeline and begins playing from that point.

seekSegmentTime

Locates the specified point on the element's segment timeline, and begins playing from that point.

seekTo

Locates a specified point on the element's segment timeline, including repetitions, and begins playing from that point.

segmentTimeToActiveTime

Converts a value in the element's segment timeline to the corresponding point in the element's active timeline.

segmentTimeToSimpleTime

Converts a value in the element's segment timeline to the corresponding point in the element's simple timeline.

simpleTimeToSegmentTime

Converts a value in the element's simple timeline to the corresponding point in the element's segment timeline.

Properties

The ITIMEElement interface has these properties.

Property Description

accelerate

Sets or gets a value that applies an acceleration to an element timeline.

activeElements

Returns a reference to the collection of all top-level child elements of the object that are currently active on the timeline.

autoReverse

Sets or gets whether the timeline on an element begins playing in reverse immediately after it completes in the forward direction.

begin

Sets or gets the delay time before the timeline begins playing on the element.

currTimeState

Retrieves the current time state object.

decelerate

Sets or gets a value that applies a deceleration to the end of a simple duration.

dur

Sets or gets a value indicating the amount of time the element remains active or displayed.

end

Sets or gets a value indicating the end time for the element, or the end of the simple duration when the element is set to repeat.

endSync

Sets or gets the synchronization rule that specifies which child element is used to determine when the time container ends.

fill

Sets or gets the action taken by an element if the element timeline ends before the timeline on its parent element ends.

hasMedia

Gets a VARIANT_BOOL value that indicates whether the element is an Introduction to HTML+TIME media element.

isPaused

Gets a value that specifies whether the element is paused on the timeline.

mute

Sets or gets a value that indicates whether the audio is turned on or off.

repeatCount

Sets or gets the number of times an element timeline repeats.

repeatDur

Sets or gets the number of seconds that an element timeline repeats.

restart

Sets or gets the conditions under which an element can be restarted on a timeline.

speed

Sets or gets the playback speed of an element relative to its parent time container.

syncBehavior

Sets or gets a value that indicates the synchronization rules for the element timeline.

syncMaster

Sets or gets whether the time container must synchronize playback to this element.

syncTolerance

Sets or gets the time variance that is allowed on a timeline with locked synchronization.

timeAction

Sets or gets the action that is taken on the element while the timeline is active.

timeAll

Retrieves a reference to the collection of all timed elements.

timeChildren

Retrieves a reference to the collection of all timed, top-level children elements.

timeContainer

Sets or gets the type of timeline associated with an element.

timeParent

Gets the parent time container element of the current element.

updateMode

Sets or gets a value that indicates how the object is to be updated.

volume

Sets or gets the volume of the media file.

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Mstime.h

IDL

Mstime.idl

DLL

Mstime.dll

See also

IDispatch

Introduction to HTML+TIME