Atalasoft
Welcome to Atalasoft Community Sign in | Join | Help
in

AnnotationController.Clone()

Last post 07 Apr 2008, 4:37 AM by vnenad. 2 replies.
Sort Posts: Previous Next
  •  04 Apr 2008, 11:22 AM 13606

    AnnotationController.Clone()

    It seems that AnnotationController.Clone() method isn't implemented?

    Am I missing something, is there a way to Clone AnnotationController within Atalasoft library?

     

  •  06 Apr 2008, 7:02 AM 13615 in reply to 13606

    Re: AnnotationController.Clone()

    No, the AnnotationController is not cloneable.  You would need to create a new instance of AnnotationController, copy any properties over then make a clone of each LayerAnnotation in the Layers collection to add into the new controller.

    I don't know why you want to clone the controller but be sure you only have one AnnotationController for each viewer, otherwise you are almost guaranteed to have issues.
     


    Glenn Chittenden Jr.
    Atalasoft Development Team
  •  07 Apr 2008, 4:37 AM 13625 in reply to 13615

    Re: AnnotationController.Clone()

    Well, I created MVC architecture for application that I'm working on, but using Atalasoft's library as Viewer part isn't that neat as it could be. Glenn, if you think MVC implementation with help of DotImage library could be interesting topic, open a new one, I would surely contribute by posting my problem/solution to that thread.

    Thank you very much for the answer you gave me, it solves my problem as I currently work with only one layer.

     

View as RSS news feed in XML