Crainiate Community

Support and discussion for users of Crainiate component software products
Welcome to Crainiate Community Sign in | Join | Help
in Search

How to change location of one point of ComplexLine after load model from a XML file

Last post 07-22-2009 8:31 AM by cikenew. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 07-22-2009 8:31 AM

    How to change location of one point of ComplexLine after load model from a XML file

    I can define a new complex line and change location of a point, like below:

    cLine.Segments[1].Start.Location = new PointF(cLine.Segments[1].Start.Location.X + 20,
             cLine.Segments[1].Start.Location.Y + 20);

    these codes above can work very well. Then I save this diagram as a XML file and load it again.

    But after loading this XML file, I find these same codes can not work, I can not change location of a point.

    Is there anybody can help me ?

    Thanks

    • 60.29.151.143
Page 1 of 1 (1 items)