←Select platform

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.Core.AnnObject objects.

Syntax

C#
VB
C++
public AnnContainer FromDataSetToAnnContainer( 
   DicomDataSet ds, 
   DicomElement graphicAnnSqItem 
) 
  
Public Function FromDataSetToAnnContainer( _ 
   ByVal ds As Leadtools.Dicom.DicomDataSet, _ 
   ByVal graphicAnnSqItem As Leadtools.Dicom.DicomElement _ 
) As Leadtools.Annotations.Core.AnnContainer 

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.Core.AnnContainer that contains LEAD Leadtools.Annotations.Core.AnnObject

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(dicomdataset,anncontainer).

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.