Converts all the LEAD Annotation objects in an AnnContainer into one or more DICOM annotation objects, and stores (overwrites) the result in a Leadtools.Dicom.DicomDataSet.
ds
The Leadtools.Dicom.DicomDataSet where the resulting DICOM Annotation objects are stored.
annContainer
The Leadtools.Annotations.Engine.AnnContainer that contains a list of Leadtools.Annotations.Engine.AnnObject objects that are to be converted.
A Leadtools.Dicom.DicomDataSet of type DicomUidType.GrayscaleSoftcopyPresentationStateStorage containing all the annotations in annContainer.
This method converts a LEAD Leadtools.Annotations.Engine.AnnContainer of Leadtools.Annotations.Engine.AnnObject objects into one or more DICOM annotation objects (text, graphic, and compound graphic), and stores (overwrites or appends) the result inside the ds parameter.
If the resulting DICOM annotation object is:
The dsImage is a Leadtools.Dicom.DicomDataSet that contains an image on which the annotations are to be rendered.
Patient, Study, and series information is copied from dsImage and stored in the resulting ds, including:
Patient Information:
PatientStudy Information:
Study Information:
Series Information:
Pass FromAnnContainerToDataSetOptions.Create to overwrite any existing annotations in ds.
Pass FromAnnContainerToDataSetOptions.Append to append to any existing annotations in ds.
For an example, refer to DicomUidOrgRoot.