Similar Threads:
1.Changing color of shape with VBA code...
I would like to change the color of a shape with VBA code. How can this be
done? code examples?
In the long run i would like to be able to do this using data from a
database, controlled by the VBA code. Thanks!
2.Change color of shape
I'm aware about reports that the Visio 2003 .NET/C# SDK will be
released somewhere Q1-2004. However I'm hoping that somebody can give
me a hint beforehand how to achieve to change the color of a shape
programmatically.
I got it working to find the selected Visio shape. And I can change
the text, however I don't have the slightest idea how to change the
color of the shape.
Maybe through SetFormula() but I don't understand what the arguments
are
//this works:
this.selectedShape.Text = visio_term + " exists";
//but what is SRCStream and formulaArray?
this.selectedShape.SetFormulas(ref SRCStream, ref formulaArray, 0);
The documentation does not reveal more then
public abstract new System.Int16 SetFormulas ( System.Array
SRCStream , System.Array formulaArray , System.Int16 Flags )
Member of Microsoft.Office.Interop.Visio.IVShape
Any one has a clue?
Marco
3.Change fill color of shape through code
I have been making my own master shapes. I note that I can change the
fill color of some master shapes through code using the following
logic:
Shape.FillStyle = "red"
Or whatever I have defined my style to be. It works pretty well for
our purposes. The problem is that some master shapes don't seem to
have a fill color, and some that I have drawn (all of them, in fact)
don't seem to want to change color through VBA no matter what I do.
Is there something I'm missing? Thanks in advance,
David
4.Change shape background color on a visio stencil
Hello,
does somebody know how to change the background color of a shape already
inserted to a stencil?
The problem is that I have to use a transparent image. When I drop it to the
stencil, the background is transparent and the image quality is really bad
(unrecognizable). If the background color of the image is white, the icon has
a good quality and is recognizable.
Thanks, udo
5.How to Change Color of a Group of Shapes
Hi, Gurus,
I have a Visio program. I created a group of line shapes. I want to
change the colors of all lines when a specific data goes beyond the range,
say, if value > 1000. How can I do that by using the group properties with
VBA?
Thanks so much in advance.
Fox12
6. How to change Visio Shape color with vb???
7. Excel VBA - Add Sheet Change Event at Run Time
8. change font color of tasks or color of bars from VBA