MFORMATSLib Namespace > IMPreview Interface : PreviewWindowSet Method |
Sub PreviewWindowSet( _ ByVal _bsChannelID As String, _ ByVal _hWndParent As Long _ )
void PreviewWindowSet( string _bsChannelID, long _hWndParent )
procedure PreviewWindowSet( _bsChannelID: String; _hWndParent: Int64 );
void PreviewWindowSet( BSTR* _bsChannelID, long _hWndParent )
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);