MFORMATSLib Namespace > MFLiveClass Class : FormatVideoSet Method |
Public Overridable Sub FormatVideoSet( _ ByVal _eFormatType As eMFormatType, _ ByRef _pVidProps As M_VID_PROPS _ )
public virtual void FormatVideoSet( eMFormatType _eFormatType, ref M_VID_PROPS _pVidProps )
public procedure FormatVideoSet( _eFormatType: eMFormatType; var _pVidProps: M_VID_PROPS ); virtual;
public: virtual void FormatVideoSet( eMFormatType _eFormatType, ref M_VID_PROPS _pVidProps )
Here is example of how to set a video format for a live object:
M_VID_PROPS vidProps; string name; m_objLive.FormatVideoGetByIndex(eMFormatType.eMFT_Input, comboBoxVF.SelectedIndex, out vidProps, out name); m_objLive.FormatVideoSet(eMFormatType.eMFT_Input, vidProps);