VintaSoft Annotation .NET Plug-in Discussions
Questions, comments and suggestions concerning VintaSoft Annotation .NET Plug-in.
Board index < VintaSoft Imaging < VintaSoft Annotation .NET Plug-in Discussions
AnnotationViewer.Annotations[0].Load(streamWithAnnotations);Annotation collection associated with the image can be saved to file or stream using the AnnotationCollection.Save method:
AnnotationViewer.Annotations[0].Save(streamWithAnnotations);Best regards, Alexander
Hello Sami,Hi Alex,
Yes, you can store image and annotations separately.
Annotation collection associated with the image can be loaded from file or stream using the AnnotationCollection.Load method:AnnotationViewer.Annotations[0].Load(streamWithAnnotations);Annotation collection associated with the image can be saved to file or stream using the AnnotationCollection.Save method:AnnotationViewer.Annotations[0].Save(streamWithAnnotations);Best regards, Alexander
I think i've found my answer, i'm going through the annotationcollection and forIt's a good way but not the best.
ReferencedImageAnnotation.Image i'm using the method SetImage to get the image from the database.
Is that a good way of using the SDK?
thank you,I think i've found my answer, i'm going through the annotationcollection and forIt's a good way but not the best.
ReferencedImageAnnotation.Image i'm using the method SetImage to get the image from the database.
Is that a good way of using the SDK?
The best way is create annotation class derived from ReferencedImageAnnotation and override
the Annotation.ReadXmlContent or Annotation.Deserialize method.
Please read the "Programing - Annotate images - Create a custom annotation" topic in the documentation.
Best regards, Alexander