Microsoft DirectX 8.0

IAMTimelineSplittable Object

Splits a timeline object in Microsoft® DirectShow® Editing Services (DES). Sources, effects, transitions, and tracks support this object.

Methods

SplitAtNot supported for Visual Basic.
SplitAt2Splits the object at the specified time.

SplitAt Method (IAMTimelineSplittable Object)

IAMTimelineSplittable Object

Not supported for Visual Basic.

Syntax

object.SplitAt(
    Time As <Unsupported variant type>
)

SplitAt2 Method (IAMTimelineSplittable Object)

IAMTimelineSplittable Object

Splits the object at the specified time.

Syntax

object.SplitAt2(
    Time As Double
)

Parts

object
Object expression that evaluates to an IAMTimelineSplittable object.
Time
Time at which to split the object, relative to the start of the object, in seconds.

Error Codes

If the method fails, an error is raised, and Err.Number can be set to one of the following values:

E_INVALIDARGInvalid argument.
E_OUTOFMEMORYInsufficient memory.

Remarks

If you split a source, effect, or transition, this method creates a second object of the same type. The original object is truncated at the specified split time, and the new object replaces the truncated portion. The new object inherits all of the same properties. In a source object, the method also splits any effects that fall on the split time.

Calling this method on a track splits all the sources, effects, and transitions that are contained in the track at the specified split time. It does not create a second track (a track begins at time zero and extends to infinity). If the split time is later than everything in the track, the method has no effect.