I
ionpopescu
Hello,
I am using C# to generate a visio document. I have two master shapes -
let's call them MyParent and MyChild. I have dropped in my page one
instance of MyParent and a ton of instances of MyChild.
What I want to know now is if there a way in Automation to have Visio
execute something like this: "Auto arrange all the MyChild shapes
inside the MyParent shape, using 5 items per row, 10 px horizontal
spacing and 20 px veritical spacing, and resize MyParent's height if
it's smaller than the height of all added rows"
I was able to do this by calculating various heights, widths and
coordinates, but i'm sure there's a simpler way.
Thanks
I am using C# to generate a visio document. I have two master shapes -
let's call them MyParent and MyChild. I have dropped in my page one
instance of MyParent and a ton of instances of MyChild.
What I want to know now is if there a way in Automation to have Visio
execute something like this: "Auto arrange all the MyChild shapes
inside the MyParent shape, using 5 items per row, 10 px horizontal
spacing and 20 px veritical spacing, and resize MyParent's height if
it's smaller than the height of all added rows"
I was able to do this by calculating various heights, widths and
coordinates, but i'm sure there's a simpler way.
Thanks