MFTransition Method (IMFFrame)
a frame from the transition is used
result frame
position of a transition
transition type
additional properties
converter's ID
Makes a transition between frames
Syntax
Sub MFTransition( _
   ByVal _pFrameFrom As Object, _
   ByRef _ppFrameRes As MFFrame, _
   ByVal _dblPos As Double, _
   ByVal _bsTransition As String, _
   ByVal _bsPropsList As String, _
   ByVal _bsConverterID As String _
) 

Parameters

_pFrameFrom
a frame from the transition is used
_ppFrameRes
result frame
_dblPos
position of a transition
_bsTransition
transition type
_bsPropsList
additional properties
_bsConverterID
converter's ID
Example

Here is a example of how to use a transition from File transition sample:

/// <summary>
/// Make a transition between frames
/// </summary>
/// <param name="pFrameTo">frame to which transition is implemented</param>
/// <param name="pFrameFrom">frame from which transition is implemented</param>
/// <param name="_dblPos">transition's position</param>
/// <param name="_strConverterID">converter's ID</param>
private void FrameTransition(ref MFFrame pFrameTo, MFFrame pFrameFrom, double _dblPos, string _strConverterID)
{
    MFFrame pFrameRes = null;
    pFrameTo.MFTransition(pFrameFrom, out pFrameRes, _dblPos, "fade", "", _strConverterID);
    if (pFrameRes != null)
    {
        Marshal.ReleaseComObject(pFrameTo);
        pFrameTo = pFrameRes;
    }
}
See Also

Reference

IMFFrame Interface
IMFFrame Members