MFORMATSLib Namespace > IMProps Interface : PropsSet Method |
Sub PropsSet( _ ByVal _bsPropName As String, _ ByVal _bsPropValue As String _ )
void PropsSet( string _bsPropName, string _bsPropValue )
procedure PropsSet( _bsPropName: String; _bsPropValue: String );
void PropsSet( BSTR* _bsPropName, BSTR* _bsPropValue )
Here is an example of how to select a video track for a file:
// Set video track by index m_objMFReader.PropsSet("video_track", comboBoxVideoTrack.SelectedIndex.ToString()); // where comboBoxVideoTrack is a combobox with available video tracks)