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.
 
Top