MFORMATSLib Namespace > IMPreview Interface : PreviewEnable Method |
Sub PreviewEnable( _ ByVal _bsChannelID As String, _ ByVal _bEnableAudio As Integer, _ ByVal _bEnableVideo As Integer _ )
void PreviewEnable( string _bsChannelID, int _bEnableAudio, int _bEnableVideo )
procedure PreviewEnable( _bsChannelID: String; _bEnableAudio: Integer; _bEnableVideo: Integer );
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);