Profile Picture

problems with NStep2Conector

Posted By Hans Henrik Friis Pedersen... 10 Years Ago
Author
Message
Hans Henrik Friis Pedersen...
Problem Posted 10 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: 8 Years Ago
Posts: 28, Visits: 136
Hi,

When using the code below; no HV connector line is shown between the rectange and the table - Why?

Both th table and the rectange is shown but not the connector line??

================

NTableShape table = new NTableShape(10, 10, 100, 100);
table.InitTable(2, 2);
table[0, 0].Text = "Cell 1";
table[1, 0].Text = "Cell 2";
table[0, 1].Text = "Cell 3";
table[1, 1].Text = "Cell 4";
document1.ActiveLayer.AddChild(table);

NRectangleShape rect1 = new NRectangleShape(new NRectangleF(150, 150, 50, 50));
document1.ActiveLayer.AddChild(rect1);

NStep2Connector hv1 = new NStep2Connector(false);
hv1.StyleSheetName = NDR.NameConnectorsStyleSheet;
hv1.Text = "HV1";
hv1.FromShape = table;
hv1.ToShape = rect1;
document1.ActiveLayer.AddChild(hv1);







Similar Topics


Reading This Topic