Visio Tool Bars

H

ha1o

Hi, I want to ask you if I can show Visio Tool bars in my application?

For example, the Drawing bar, or the Formatting Bar or even the Standard bar.

I found how to use the Custom Properties Window and the Pan & Zoom window in
the AxMicrosoft.Office.Interop.VisOcx.AxDrawingControl class, but I can't
find anything about the Drawing or the Standard tool bar. So, I'm not sure if
I can do what I want.

Thanks
 
J

JuneTheSecond

You can show Visio toolbars on window, but not on your application form,
if toolbar position is Floating by Visible = true.
Displayed toolbars are floating on window not fixed on your form,
but work well and are convinient. Menu bar cannot be shown.
 
H

ha1o

Hi, I cannot find the the instruction to show a toolbar in a windows.

I can show the Pan & Zoom windows with this instruction:
"Microsoft.Office.Interop.Visio.Window winPanZoom =

this.drawingControl.Window.Windows.get_ItemFromID((int)Microsoft.Office.Interop.Visio.VisWinTypes.visWinIDPanZoom);

winPanZoom.Visible = this.panZoomToolStripMenuItem.Checked;"

But I can't find the instruction to show the Visio Drawing Toolbar. Can you
help me with that.

By the way, I'm working with the Microsoft Office Visio Code Librarian
Viewer. Is there other documentation or help more extensive that this one?
 
J

JuneTheSecond

I'm just guessing, there is no document,
drawing control does not support vtisio tool bars,
it is not documented, either,
and a pan-zoom window is not a tool bar.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top