|Microsoft DirectX 9.0|
The TransAdd method adds a transition to the object. An object can have multiple transitions, but they must not overlap in time. Transitions must fall within the time boundaries of the object.
object.TransAdd( pTrans As AMTimelineObj )
The AMTimelineObj object that specifies the transition to add.
If the method fails, an error is raised, and Err.Number can be set to one of the following values:
|E_INVALIDARG||Cannot insert the transition.|
|E_NOINTERFACE||pTrans is not a transition.|
If the transition overlaps an existing transition, the method raises an E_INVALIDARG error.