MFORMATSLib Namespace > MFPreviewClass Class : PreviewWindowSet Method |
Public Overridable Sub PreviewWindowSet( _ ByVal _bsChannelID As String, _ ByVal _hWndParent As Long _ )
public virtual void PreviewWindowSet( string _bsChannelID, long _hWndParent )
public procedure PreviewWindowSet( _bsChannelID: String; _hWndParent: Int64 ); virtual;
public: virtual 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);