FileFrameGet Method (MPlaylistClass)
position in file from which the frame will be received
preroll value
pointer to the frame
Gets the video frame from the specific position of file.
Syntax
Public Overridable Sub FileFrameGet( _
   ByVal _dblPos As Double, _
   ByVal _dblPreroll As Double, _
   ByRef _ppFrame As MFrame _
) 
public virtual void FileFrameGet( 
   double _dblPos,
   double _dblPreroll,
   out MFrame _ppFrame
)
public procedure FileFrameGet( 
    _dblPos: Double;
    _dblPreroll: Double;
   Out  _ppFrame: MFrame
); virtual; 
public: virtual void FileFrameGet( 
   double _dblPos,
   double _dblPreroll,
   [PARAMFLAG::Out] MFrame* _ppFrame
) 

Parameters

_dblPos
position in file from which the frame will be received
_dblPreroll
preroll value
_ppFrame
pointer to the frame
Example
Dim myItem As MItem
Dim strPath As String
Dim dblPos As Double
myPlaylist.PlaylistGetByIndex(1, dblPos, strPath, myItem)
Dim myFrame As MFrame
myItem.FileFrameGet(10.0, 1.0, _myFrame)
Dim myFrame As MFrame;
myFile.FileFrameGet(10.00, 1.0, myFrame);
MItem myItem;
string strPath;
double dblPos;
myPlaylist.PlaylistGetByIndex(1, out dblPos, out strPath, out myItem);
MFrame myFrame;
myItem.FileFrameGet(10.00, 1.0, out _myFrame);
var 
myFrame: MFrame;
myItem: MItem;
strPath: widestring;
dblPos: double;
begin
myPlaylist.PlaylistGetByIndex(1, dblPos, strPath, myItem);
myItem.FileFrameGet(10.00, 1.0, myFrame);
end;
See Also

Reference

MPlaylistClass Class
MPlaylistClass Members