On Sat, 28 Jun 2008 00:34:01 -0700 (PDT), Nikolay Belyh wrote: >> This shape is taken from my stencil and then dropped onto other drawings. >> After the shape that I made is dropped onto other drawings I want to change >> the picture that is used as the display for the shape. I thought this was the >> shapes icon but maybe I am mistaken. I just want to change this picture no >> matter what it takes. >> >> Can this be done? How? > >Probably the "picture used as the display for the shape" you want to >change >is "master icon" in "visio terms". In this case, just use context >menu command "Edit Master" -> "Edit Icon Image". But Stumple wants to change the image *after* it's been dropped on the drawing page. I suspect that the Visio drawing page is being seen as equivalent to the Windows desktop where the image shown is an icon and the OP wants an equivalent of the change icon. -- Regards, Paul Herber, Sandrila Ltd. Visio Utilities http://www.visio-utilities.sandrila.co.uk/
that's pretty much what I got out of my discussion with stumple. The secondary issue is that the source is a bitmap of a screen capture and he is dissatisfied with the resultant quality of the icon created. al "Paul Herber" wrote in message news:af8c649kk9449kda8mdv1tqstcl7rl6m06@news.gradwell.net... > On Sat, 28 Jun 2008 00:34:01 -0700 (PDT), Nikolay Belyh > wrote: > >>> This shape is taken from my stencil and then dropped onto other >>> drawings. >>> After the shape that I made is dropped onto other drawings I want to >>> change >>> the picture that is used as the display for the shape. I thought this >>> was the >>> shapes icon but maybe I am mistaken. I just want to change this picture >>> no >>> matter what it takes. >>> >>> Can this be done? How? >> >>Probably the "picture used as the display for the shape" you want to >>change >>is "master icon" in "visio terms". In this case, just use context >>menu command "Edit Master" -> "Edit Icon Image". > > But Stumple wants to change the image *after* it's been dropped on the > drawing page. I suspect that the Visio drawing page is being seen as > equivalent to the Windows desktop where the image shown is an icon and > the OP wants an equivalent of the change icon. > > > -- > Regards, Paul Herber, Sandrila Ltd. > Visio Utilities http://www.visio-utilities.sandrila.co.uk/
On Mon, 30 Jun 2008 11:01:04 -0700, Stumple wrote: >I found another way to get a shape into a page from a file. > > shape.ContainingShape.Import(@"c:\test.bmp"); > >Is there anyway to make this the picture of the shape? Right now it is just >importing it into the visio and putting it on top of everything else. I really think you've got to get rid of this idea of a picture of the shape for what you want, you want to replace the original shape with a new shape, that shape may just be a new image. -- Regards, Paul Herber, Sandrila Ltd. Visio Utilities http://www.visio-utilities.sandrila.co.uk/