MFTransition Method (IMFFrame)
a frame from the transition is used
result frame
position of a transition
transition type
additional properties
converter ID
Makes a transition between frames
Syntax

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 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