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.
dsImage
The Leadtools.Dicom.DicomDataSet on which the annotations are rendered.
newSeriesInstanceUid
The SeriesInstanceUID of the resulting ds. Pass string.Empty to auto-generate.
newSopInstanceUid
The SopInstanceUID of the resulting ds. Pass string.Empty to auto-generate.
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) 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:
This overload overwrites any existing annotations in ds.
To append annotations, use FromAnnContainerToDataSet(DicomDataSet,AnnContainer,DicomDataSet,string,string,FromAnnContainerToDataSetOptions).
For an example, refer to DicomUidOrgRoot.