FileInOutGetTC Method (MPlaylistClass)
timecode In value
timecode Out value
flag that indicates whether out point is specified
Gets the in and out points as timecode.
If Out point is not specified it returns last frame timecode.
Syntax
Public Overridable Sub FileInOutGetTC( _
   ByRef _pTCIn As M_TIMECODE, _
   ByRef _pTCOut As M_TIMECODE, _
   ByRef _pbOutSpecified As Integer _
) 
public virtual void FileInOutGetTC( 
   out M_TIMECODE _pTCIn,
   out M_TIMECODE _pTCOut,
   out int _pbOutSpecified
)
public procedure FileInOutGetTC( 
   Out  _pTCIn: M_TIMECODE;
   Out  _pTCOut: M_TIMECODE;
   Out  _pbOutSpecified: Integer
); virtual; 
public: virtual void FileInOutGetTC( 
   [PARAMFLAG::Out] M_TIMECODE _pTCIn,
   [PARAMFLAG::Out] M_TIMECODE _pTCOut,
   [PARAMFLAG::Out] int _pbOutSpecified
) 

Parameters

_pTCIn
timecode In value
_pTCOut
timecode Out value
_pbOutSpecified
flag that indicates whether out point is specified
Example

Here is example of how to work with timecode:

Dim myTime As M_TIMECODE
Dim pOutTC As M_TIMECODE
Dim pnOutSpec As Integer
Dim myItem As MItem
Dim strPath As String
Dim dblPos As Double
myPlaylist.PlaylistGetByIndex(1, dblPos, strPath, myItem)
Dim myFrame As MFrame
myItem.FileInOutGetTC(myTime, pOutTC, pnOutSpec)
myTime.nHours = 0
myTime.nMinutes = 0
myTime.nSeconds = 9
myTime.nFrames = 0
myItem.FileFrameGetByTC(myTime, myFrame)
M_TIMECODE myTime;
M_TIMECODE pOutTC;
int pnOutSpec;
MItem myItem;
string strPath;
double dblPos;
myPlaylist.PlaylistGetByIndex(1, out dblPos, out strPath, out myItem);
MFrame myFrame;
myItem.FileInOutGetTC(out myTime, out pOutTC, out pnOutSpec);
myTime.nHours = 0;
myTime.nMinutes = 0;
myTime.nSeconds = 9;
myTime.nFrames = 0;
myItem.FileFrameGetByTC(ref myTime, out myFrame);
var
myTime, pOutTC: M_TIMECODE;
myFrame: MFrame;
dblPos: double;
strPath: widestring;
pnOutSpec: integer;
myItem: MItem;
begin
myPlaylist.PlaylistGetByIndex(1, dblPos, strPath, myItem);
myItem.FileInOutGetTC(myTime, pOutTC, pnOutSpec);
myTime.nHours = 0;
myTime.nMinutes = 0;
myTime.nSeconds = 9;
myTime.nFrames = 0;
myItem.FileFrameGetByTC(myTime, myFrame);
end;
See Also

Reference

MPlaylistClass Class
MPlaylistClass Members