problems with NStep2Conector


Author
Message
Hans Henrik Friis Pedersen...
Hans Henrik Friis Pedersen
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
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);



GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search