S
Saran
Hi
We are thinking of using Visio Drawing Control (Visio 2003) in a .Net WinForms application. Ideally, we would like to use Visio control for presentation purpose only and have the host application deal with data storage.
The host application would maintain the application specific data in an XML file. We would like to have minimal visio data required to save and restore a drawing as part of this application specific XML file. For eg the application specific XML which contains visio data could look like below
<ApplicationSpecificRoot><Entity Name="Entity1"><ApplicationSpecificEntityData
Lot of Dat
</ApplicationSpecificEntityData><VisioRepresntationOfEntity
Visio data to restore the shape representing the application specific entity. This needs to include the position, geometry information of the shape..
</VisioRepresentationOfEntity></Entity></ApplicationSpecificRoot
Hope I have stated my need clearly.
1. Is it possible to do it? Or should I have application specific data as part of a vsd file
2. Is there any sample application which does something like this?
3. Assume I have a drawing with just 2 shapes (for simplicity take 2 "Process" rectangle shapes of different sizes) connected via a connector. If I have to save it as part of my XML file and later open my XML file to display the drawing, what would be the minimum set of Visio drawing data that I need to save
I am beginer, so any help would be greatly appreaciated.
Thanks
Saran.
We are thinking of using Visio Drawing Control (Visio 2003) in a .Net WinForms application. Ideally, we would like to use Visio control for presentation purpose only and have the host application deal with data storage.
The host application would maintain the application specific data in an XML file. We would like to have minimal visio data required to save and restore a drawing as part of this application specific XML file. For eg the application specific XML which contains visio data could look like below
<ApplicationSpecificRoot><Entity Name="Entity1"><ApplicationSpecificEntityData
Lot of Dat
</ApplicationSpecificEntityData><VisioRepresntationOfEntity
Visio data to restore the shape representing the application specific entity. This needs to include the position, geometry information of the shape..
</VisioRepresentationOfEntity></Entity></ApplicationSpecificRoot
Hope I have stated my need clearly.
1. Is it possible to do it? Or should I have application specific data as part of a vsd file
2. Is there any sample application which does something like this?
3. Assume I have a drawing with just 2 shapes (for simplicity take 2 "Process" rectangle shapes of different sizes) connected via a connector. If I have to save it as part of my XML file and later open my XML file to display the drawing, what would be the minimum set of Visio drawing data that I need to save
I am beginer, so any help would be greatly appreaciated.
Thanks
Saran.