Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic AnchorPoint.Tag property is not preserved (Read 1463 times)
JasonB
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 24
Joined: Jun 5th, 2008
AnchorPoint.Tag property is not preserved
Jun 10th, 2008 at 7:58pm
Print Post  
If I create an anchor pattern with anchor points that have tags, as soon as I assign the pattern to a node's anchor pattern, the anchor point tag value is set to null. I tried using shared anchor patterns (just specify with ID?) and this still occurred.


Code:

       AnchorPattern pattern = new AnchorPattern("sdfssfd");
           AnchorPointCollection points = new AnchorPointCollection();
           pattern.Points = points;
           AnchorPoint point = new AnchorPoint(10, 10);
           point.Tag = "something";
           points.Add(point);

           node.AnchorPattern = pattern; //pattern.Points[0].Tag is not null. node.AnchorPattern.Points[0].Tag is null.




  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint