S
Satish Kumar
Hi,
Please help me. I am stuck up with a problem
I am using Visio 2003 and C#.
I have a requirement that I need to copy and paste a set of shapes currently
on the page and after pasting, I need to get all the new shapes pasted and
need to change some values in the shape sheet for all those shapes. Now I am
facing a problem. After pasting the pasted shapes are not highlighted and
hence wen I say ActiveWindow.Selection I am not getting all the shapes that
are currently pasted. It behaves weirdly giving me a subset of total shapes
in the selection. I handled the SelectionAdded event but its not fired when
I paste on to the page.
I found the same behaviour while working Manually with Visio. I selected a
set of 7 shapes and pasted them. The selection after pasting is not same
everytime. Some times it selects 3 shapes, some times 4 and sometimes none.
can anybody please help me how to overcome my problem?
Please help me. I am stuck up with a problem
I am using Visio 2003 and C#.
I have a requirement that I need to copy and paste a set of shapes currently
on the page and after pasting, I need to get all the new shapes pasted and
need to change some values in the shape sheet for all those shapes. Now I am
facing a problem. After pasting the pasted shapes are not highlighted and
hence wen I say ActiveWindow.Selection I am not getting all the shapes that
are currently pasted. It behaves weirdly giving me a subset of total shapes
in the selection. I handled the SelectionAdded event but its not fired when
I paste on to the page.
I found the same behaviour while working Manually with Visio. I selected a
set of 7 shapes and pasted them. The selection after pasting is not same
everytime. Some times it selects 3 shapes, some times 4 and sometimes none.
can anybody please help me how to overcome my problem?