MFORMATSLib Namespace > MFPreviewClass Class : PreviewEnable Method |
Public Overridable Sub PreviewEnable( _ ByVal _bsChannelID As String, _ ByVal _bEnableAudio As Integer, _ ByVal _bEnableVideo As Integer _ )
public virtual void PreviewEnable( string _bsChannelID, int _bEnableAudio, int _bEnableVideo )
public procedure PreviewEnable( _bsChannelID: String; _bEnableAudio: Integer; _bEnableVideo: Integer ); virtual;
public: virtual void PreviewEnable( BSTR* _bsChannelID, int _bEnableAudio, int _bEnableVideo )
Here is example of how to initialize a preview:
m_objPreview = new MFPreviewClass(); //Configure preview m_objPreview.PreviewWindowSet("", panelPreview.Handle.ToInt32()); m_objPreview.PreviewEnable("", 1, 1);