VC : Groups shapes as shape

N

naklov

hello,

Want to handel a group as a shape object.
To have access to the cells of the grouped shape.
I try this code fragment and it's works, but with a window object.
Couls someone help me, may be with the a selection object or something else.

hr = myapp.ActivePage(vsoPage);
hr = myapp.ActiveWindow(vsoWindow);

hr = vsoPage.DrawRectangle(2, 9, 5, 9.5, vsoShape1);
hr = vsoPage.DrawRectangle(0, 0, 2, 1.5, vsoShape2);

hr = vsoWindow.Select(vsoShape1,2);
hr = vsoWindow.Select(vsoShape2,2);
hr = vsoWindow.Group();
 

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