ActiveX get shapes from document

R

Roee Bachar

Hi,

I'm using Visio 2003 Pro ActiveX on windows form (C++Builder)
How do I read programmatically (using C++ or C#) the list of shapes and
there X, Y positions

For example I'm drawing 1 line and 1 arc on the document and I want to get
something like:

number_of_shape 2

shape_type line
Begin X 0
Begin Y 0
End X 100
End Y 100

shape_type arc
Begin X 200
Begin Y 100
End X 350
End Y 360

Thanks,
Roee
 
J

JuneTheSecond

I hope you will study first about structure of Visio Document.
You might learn the terms that includes Pages collection, Shapes Collection.
The materials are available in the help of Visio or documents in msdn site.
 

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