How do I change connector color?

J

jpabich

I know how to do that. I want to do it automatically. I am creating a
flow and certain line colors mean different things. If they select a
type of line, I want to change the color of it after it is placed.
 
J

jpabich

I figured it out:

Visio.Shape line = VisPage.DrawLine(x1Pos, y1Pos, x2Pos, y2Pos);
celobj = line.get_Cells("LineColor");
celobj.Formula = "3";
 

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