To copy use the GetAnnotationXML() method.
see: http://guides.gdpicture.com/content/web ... onXML.html
To paste, use the AddAnnotationFromXML() method.
see: http://guides.gdpicture.com/content/web ... omXML.html
Please let me know if you need further information.
With best regards,
Thank you for your Response. I tried your solution to Copy an Annotation. When i call the Method GetAnnotationXML, i did not get any result (Value was empty). The GetStat() Method of the AnnotationManager responds GdPictureStatus_OK.
I added the Annotation with Viewer.AddLineAnnotInteractive. The AnnotationManager will be connected after i added the Annotation to the Viewer. Can this be the Problem, why it does not work ??
Who is online
Users browsing this forum: No registered users and 2 guests