Automating Visio

J

JoshW

I have been reading through the Visio SDK and have found it very confusing.
I am attempting to write a Visual Basic.net program that will flowchart
assembly code Visio. I've read through an example provided by Microsoft
where they open Visio, place 5-6 shapes and then save the file. This article
was helpful, but I'd like to be able to do more. I'd like to be able to left
align text, change the size of placed stencils, get the location of placed
stencils, change the page size, and so on.

I've yet to find any information related to completing such tasks! I know
it has to be possible. If anyone can point me in the right direction I would
greatly appreciate it.

Thanks.
 
J

JoshW

Right, I've been doing that. However, the code generated appears to be using
enumerations such as: visXFormPinX, visSectionObject, visRowXFormOut, and
visHorzAlign. Do you have any idea where these are defined? Currently my
method of determining what they are is to run in debug and check there
values. Then in my VB app, I hard code those values. This seems like a
really complicated and confusing way for me to build my application. Surely
this API has to be defined clearly somewhere!?

Thanks for the quick response.
 
M

Michel LAPLANE

If you use visual studio the intellisense feature will give you easy access
to all enums.
 

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