FileInOutGet Method (IMFile)
input time point of file in seconds
Default value is 0. File plays from the beginning.
output time point of file in seconds.
Default value is 0. File plays to the end (file duration value).
duration of the file in seconds
Get Input and Output time points of file in seconds.
If Out value less than In that means that Out value is not specified and file will be played to the end.
Syntax
Sub FileInOutGet( _
   ByRef _pdblIn As Double, _
   ByRef _pdblOut As Double, _
   ByRef _pdblDuration As Double _
) 
void FileInOutGet( 
   out double _pdblIn,
   out double _pdblOut,
   out double _pdblDuration
)
procedure FileInOutGet( 
   Out  _pdblIn: Double;
   Out  _pdblOut: Double;
   Out  _pdblDuration: Double
); 
void FileInOutGet( 
   [PARAMFLAG::Out] double _pdblIn,
   [PARAMFLAG::Out] double _pdblOut,
   [PARAMFLAG::Out] double _pdblDuration
) 

Parameters

_pdblIn
input time point of file in seconds
Default value is 0. File plays from the beginning.
_pdblOut
output time point of file in seconds.
Default value is 0. File plays to the end (file duration value).
_pdblDuration
duration of the file in seconds
Example
Dim myItem As MItem
Dim strPath As String
Dim dblPos As Double
myPlaylist.PlaylistGetByIndex(1, dblPos, strPath, myItem)
Dim dblIn As Double
Dim dblOut As Double
Dim dblFileLen As Double
myItem.FileInOutGet(dblIn, dblOut, dblFileLen)
MItem myItem;
string strPath;
double dblPos;
myPlaylist.PlaylistGetByIndex(1, out dblPos, out strPath, out myItem);
double dblIn;
double dblOut;
double dblFileLen;
myItem.FileInOutGet(out dblIn, out dblOut, out dblFileLen); 
var 
dblIn, dblOut, dblFileLen, dblPos: double;
strPath: widestring; 
myItem: MItem;
begin
myPlaylist.PlaylistGetByIndex(1, dblPos, strPath, myItem); 
myItem.FileInOutGet(dblIn, dblOut, dblFileLen);
end;
See Also

Reference

IMFile Interface
IMFile Members