VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles.Dicom Namespace / DicomFile Class / SaveChanges Methods / SaveChanges(String,IProgressController) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    SaveChanges(String,IProgressController) Method (DicomFile)
    In This Topic
    Saves DICOM file to the specified file and switches the DICOM file to the specified file. Previous source of DICOM file will be closed without save changes.
    Syntax
    'Declaration
    
    Public Overloads Overrides Sub SaveChanges( _
    ByVal filename
    The name of file, where DICOM file must be saved.
    As System.String, _
    ByVal progressController
    Progress controller.
    As Vintasoft.Imaging.Utils.IProgressController _
    )
    public override void SaveChanges(
    System.String filename,
    Vintasoft.Imaging.Utils.IProgressController progressController
    )
    public: void SaveChanges(
    System.String filename,
    Vintasoft.Imaging.Utils.IProgressController* progressController
    ); override
    public:
    void SaveChanges(
    System.String filename,
    Vintasoft.Imaging.Utils.IProgressController^ progressController
    ); override

    Parameters

    filename
    The name of file, where DICOM file must be saved.
    progressController
    Progress controller.
    Exceptions
    ExceptionDescription
    Thrown if filename is null or empty.
    Thrown if file cannot be saved to the same stream without recoding data.
    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