LEADTOOLS Medical
LEAD Technologies, Inc

FromDataSetToAnnContainer Method






The Leadtools.Dicom.DicomDataSet that contains the Graphic Annotation Sequence (DICOM Annotations) being converted.
Pointer to an item element under the "Graphic Annotation Sequence" (0070,0001) in the "Graphic Annotation Module".
Converts all of the Graphic Annotation Sequence (DICOM Annotations) stored in a Leadtools.Dicom.DicomDataSet into a LEAD AnnContainer that contains LEAD Leadtools.Annotations.Core.AnnObject objects.
Syntax
public AnnContainer FromDataSetToAnnContainer( 
   DicomDataSet ds,
   DicomElement graphicAnnSqItem
)
'Declaration
 
Public Function FromDataSetToAnnContainer( _
   ByVal ds As DicomDataSet, _
   ByVal graphicAnnSqItem As DicomElement _
) As AnnContainer
'Usage
 
Dim instance As DicomAnnotationsUtilities
Dim ds As DicomDataSet
Dim graphicAnnSqItem As DicomElement
Dim value As AnnContainer
 
value = instance.FromDataSetToAnnContainer(ds, graphicAnnSqItem)
public AnnContainer FromDataSetToAnnContainer( 
   DicomDataSet ds,
   DicomElement graphicAnnSqItem
)
 function Leadtools.Dicom.Annotations.Core.DicomAnnotationsUtilities.FromDataSetToAnnContainer( 
   ds ,
   graphicAnnSqItem 
)
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

Remarks
This function 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.Core.AnnContainer. Note that this method preserves any ruler calibrations, as the ruler calibration is stored in the Leadtools.Annotations.Core.AnnContainer.
Example
For an example, refer to FromAnnContainerToDataSet.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DicomAnnotationsUtilities Class
DicomAnnotationsUtilities Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom.Annotations.Core requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features