L
L K
I run into a strange problem while creating a custom stencil.
When an object is created, a copy from a preset Visio (e.g. basic shapes) stencil is dropped in, some properties are changed, and the foreground color of the shape is modified.
At this point, I'd like to make the master shape's icon on the stencil to be of the shame color as the shape that it produces.
To do this, I call
masterCopy.putIconUpdate(visAutomatic);
before closing the master copy and the icon changes everything but the color.
Has anyone else run into this problem? Is there something special I need to do?
Thanks for any help.
EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com
When an object is created, a copy from a preset Visio (e.g. basic shapes) stencil is dropped in, some properties are changed, and the foreground color of the shape is modified.
At this point, I'd like to make the master shape's icon on the stencil to be of the shame color as the shape that it produces.
To do this, I call
masterCopy.putIconUpdate(visAutomatic);
before closing the master copy and the icon changes everything but the color.
Has anyone else run into this problem? Is there something special I need to do?
Thanks for any help.
EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com