MItem object properties
Name | Default value | Description |
---|---|---|
in |
Start position inside the item in seconds |
|
out | End position inside the item in seconds | |
loop | false |
Loops a playback of the item |
stop_in | false |
Stops a playlist at the start of the item. |
stop_out | false |
Stops a playlist at the end of the item. |
pause_in | false | Pauses a playlist at the first frame of the item. Possible values: true, false, duration in seconds |
pause_out | false | Pauses a playlist at the last frame of the item. Possible values: true, false, duration in seconds |
These properties could be set with PropsSet method:
(pFile as IMProps).PropsSet("loop", "true");
except for "in" and "out" properties, they should be set as the params of the PlaylistAdd method:
MItem pFile;
m_objPlaylist.PlaylistAdd(null, openMediaFile.FileNames[i], "in=10", ref nIndex, out pFile);