FromDataSetToAnnContainer Method

Summary

Converts all of the Graphic Annotation Sequence (DICOM Annotations) stored in a Leadtools.Dicom.DicomDataSet into a LEAD AnnContainer that contains LEAD Leadtools.Annotations.Engine.AnnObject objects.

Syntax
C#
VB
C++
public AnnContainer FromDataSetToAnnContainer( 
   DicomDataSet ds, 
   DicomElement graphicAnnSqItem 
) 
Public Function FromDataSetToAnnContainer( _ 
   ByVal ds As DicomDataSet, _ 
   ByVal graphicAnnSqItem As DicomElement _ 
) As AnnContainer 
public: 
AnnContainer^ FromDataSetToAnnContainer(  
   DicomDataSet^ ds, 
   DicomElement^ graphicAnnSqItem 
)  

Parameters

ds
The Leadtools.Dicom.DicomDataSet that contains the Graphic Annotation Sequence (DICOM Annotations) being converted.

graphicAnnSqItem
Pointer to an item element under the "Graphic Annotation Sequence" (0070,0001) in the "Graphic Annotation Module".

Return Value

A LEAD Leadtools.Annotations.Engine.AnnContainer that contains LEAD Leadtools.Annotations.Engine.AnnObject.

Remarks

This method takes Leadtools.Dicom.DicomDataSet as input, and converts all of the DICOM annotations stored in the Graphic Annotation Sequence into LEAD annotations. The LEAD annotations are returned as a Leadtools.Annotations.Engine.AnnContainer. Note that this method preserves any ruler calibrations, as the ruler calibration is stored in the Leadtools.Annotations.Engine.AnnContainer.

Example

For an example, refer to FromAnnContainerToDataSet(DicomDataSet,AnnContainer).

Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Annotations Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.