A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Powerpoint, Publisher and Visio » Visio
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Including stencil in drawing



 
 
Thread Tools Display Modes
  #1  
Old September 16th, 2008, 03:08 PM posted to microsoft.public.visio.general
guy007
external usenet poster
 
Posts: 4
Default Including stencil in drawing

I am using Visio in an ASP.NET application. One things that I needed to do
was to create my own stencil, which the user will use to create his own
drawings.

I need a way to include the stencil (VSX file) into the drawing file itself
(VSD or VDX file), so that the user can simply open the drawing file and
start adding shapes immediately. This would eliminate the need of having to
open the stencil as well.

How can I incorporate the stencil into the drawing?

Thanks!
  #2  
Old September 16th, 2008, 03:33 PM posted to microsoft.public.visio.general
Paul Herber
external usenet poster
 
Posts: 1,732
Default Including stencil in drawing

On Tue, 16 Sep 2008 07:08:14 -0700, Guy007
wrote:

I am using Visio in an ASP.NET application. One things that I needed to do
was to create my own stencil, which the user will use to create his own
drawings.

I need a way to include the stencil (VSX file) into the drawing file itself
(VSD or VDX file), so that the user can simply open the drawing file and
start adding shapes immediately. This would eliminate the need of having to
open the stencil as well.

How can I incorporate the stencil into the drawing?


If you have a template then save the template (with the stencil open)
with the workspace enabled. Then when saving the drawing save with
workspace.
However, there is no error checking on this, if the stencil is missing
then it just won't open it. If you open it yourself in code then at
least you can check that it exists and bring up an error condition if
not.


--
Regards, Paul Herber, Sandrila Ltd.
Electronics for Visio http://www.electronics.sandrila.co.uk/
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:55 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.