VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Annotation.Dicom Namespace / DicomAnnotationCodec Class / Encode(DicomAnnotationTreeNode,DicomAnnotationDataCollection[]) Method
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
    Encode(DicomAnnotationTreeNode,DicomAnnotationDataCollection[]) Method (DicomAnnotationCodec)
    In This Topic
    Saves the specified DICOM annotation data collections into the specified DICOM annotation data set.
    Syntax

    Parameters

    destDicomAnnotationTreeNode
    The metadata tree node, which contains information about DICOM annotation data set.
    dicomAnnotationDataCollections
    An array of DICOM annotation data collections, which must be saved in DICOM data set.
    Exceptions
    ExceptionDescription
    Thrown if destDicomAnnotationTreeNode is null or dicomAnnotationDataCollections is null.
    Remarks

    This method removes old DICOM annotations from DICOM annotation data set (if this is necessary) before saving new DICOM annotations into DICOM annotation data set.

    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also