stencil shape text in browser

J

jes

Hi,

When I open a visio drawing in the browser via .net code, the stencil shape
does not display the text but if i view the same drawing in Visio itself, I
can see the stencil shape text.
Is there something i need to set inorder to view the text when Im viewing
the drawing via the browser

thanks
 
B

Bill Morein [MSFT]

To control what is displayed in the shapes window, you can use DoCmd to set
your preferred option. Very simple VBA example with the enumeration I think
you want:

Sub test()
Application.DoCmd (visCmdStenIconAndName)
End Sub

Some enumerations for the way stencils can be displayed are the following
(with their constants in parentheses):
visCmdStenIconAndDetail (1892)
visCmdStenIconAndName (1480)
visCmdStenIconOnly (1481)
visCmdStenNameOnly (1482)

--
Bill Morein
Office Graphics - Visio
Microsoft Corporation
http://blogs.msdn.com/wmorein

This posting is provided "AS IS" with no warranties, and confers no rights.
 

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