ElementMediaSet Method (IMElement)
reference to external object (for example, live source)
path to the source
parameters for adding
time interval for changes in seconds
Changes media content of the element (optionall with transitions).
Syntax
Sub ElementMediaSet( _
   ByVal _pExternOrRef As Object, _
   ByVal _bsPath As String, _
   ByVal _bsParam As String, _
   ByVal _dblTimeForChange As Double _
) 

Parameters

_pExternOrRef
reference to external object (for example, live source)
_bsPath
path to the source
_bsParam
parameters for adding
_dblTimeForChange
time interval for changes in seconds
Example
myElement.ElementMediaSet(Nothing, "d:\clips\SampleClip1.wmv", "", 2.0)
myElement.ElementMediaSet(null, @"d:\clips\SampleClip1.wmv", "", 2.0);
myElement.ElementMediaSet(nil, 'd:\clips\SampleClip1.wmv', '', 2.0)
See Also

Reference

IMElement Interface
IMElement Members