If you would like to hide the EDraw Office Viewer ActiveX Control in runtime, you need call the “OfficeObjectVisable” method.
For example: axOfficeViewer1.OfficeObjectVisable = false;
The follow code will lead to an error in C#.
axOfficeViewer1.Dock = System.Windows.Forms.DockStyle.Fill;
axOfficeViewer2.Visible = false;
axOfficeViewer3.Visible = false;
Leave a Reply
You must be logged in to post a comment.
Recent Comments