auto resize blocks - horizontally and vertically

D

dopoto

Hello,

I am trying to programatically generate a Visio diagram representation for
“rooms that contain computersâ€. I am using a VS.NET 2005 (C#) project to
retrieve data from two MS SQL tables (“Rooms†and “Computers†– one-to-many
relation) and to generate the Visio document out of the data.
What I want is to create a C# method that iterates through the Rooms table,
adds a simple container in the Visio doc for each room, then, for each room,
retrieves the associated items from the Computers table, and adds them to the
´Room´ Visio container, 10 per row.
My questions are:
1. Is there a setting I can use in the Visio shape so that I do not have to
manage the ‘move-to-next-row-after-adding-10-children’ rule from my C# code?
2. What container or properties should I use in Visio to represent Rooms, so
that they will automatically resize (grow vertically) as new children shapes
are added into them?
 

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