Hi
You write in your Release Notes, that it is possible to Copy and Paste Annotations. Unfortunatelly I did not find in the TLB a function to Copy/Paste a Selected Annotation.
Annotation Copy/paste
Re: Annotation Copy/paste
Hi,
To copy use the GetAnnotationXML() method.
see: https://www.gdpicture.com/guides/gdpicture/web ... onXML.html
To paste, use the AddAnnotationFromXML() method.
see: https://www.gdpicture.com/guides/gdpicture/web ... omXML.html
Please let me know if you need further information.
With best regards,
Loïc
To copy use the GetAnnotationXML() method.
see: https://www.gdpicture.com/guides/gdpicture/web ... onXML.html
To paste, use the AddAnnotationFromXML() method.
see: https://www.gdpicture.com/guides/gdpicture/web ... omXML.html
Please let me know if you need further information.
With best regards,
Loïc
Re: Annotation Copy/paste
Hi
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 ??
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 ??
Re: Annotation Copy/paste
Ok.
After further testing, i found a solution. When i use the GDViewer, i have to use the AnnotationsManager from this Class. To Create a new one and Connect it with the GDViewer does not work.
After further testing, i found a solution. When i use the GDViewer, i have to use the AnnotationsManager from this Class. To Create a new one and Connect it with the GDViewer does not work.
Who is online
Users browsing this forum: No registered users and 2 guests