LEADTOOLS Support
Medical
Medical SDK Examples
How To: Save DICOM annotations to a stream
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Friday, January 22, 2010 2:26:33 PM(UTC)
Groups: Tech Support
Posts: 366
Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)
Attached is a small C# 2008 project built with LEADTOOLS v16.5 that illustrates how to load a multiframe dataset, add annotations to it, and save the annotations out to a stream. This demo illustrates the use of a FileStream to save to disk or a MemoryStream, depending on the options set in the demo. If you're saving to file, it would be easier to use the SaveAnnotation(string) overload. If you're saving to a Database though, it would be necessary to save the annotations out to a memory stream.
This demo can also be used as a simple example on how to implement Stack, AnnotationAngle, AnnotationArrow, AnnotationEllipse, AnnotationHilite, AnnotationRectangle, AnnotationRuler, and AnnotationText actions.
Walter Bates
Senior Support Engineer
LEAD Technologies, Inc.
LEADTOOLS Support
Medical
Medical SDK Examples
How To: Save DICOM annotations to a stream
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.