FormatVideoSet Method (MFLiveClass)
format type
video properties
Sets a video format
Syntax
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
) 

Parameters

_eFormatType
format type
_pVidProps
video properties
Example

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);
See Also

Reference

MFLiveClass Class
MFLiveClass Members