Save

Save()

Saves all changes made in the loaded document.

public void Save()

Remarks

Learn more

Examples

This example shows how to save the modified content to the underlying source.

using (Metadata metadata = new Metadata(Constants.OutputPpt))
{
    // Edit or remove metadata here

    // Saves the document to the underlying source (stream or file)
    metadata.Save();
}

See Also


Save(Stream)

Saves the document content into a stream.

public void Save(Stream document)
Parameter Type Description
document Stream An output stream for the document.

Remarks

Learn more

Examples

This example shows how to save a document to the specified stream.

using (MemoryStream stream = new MemoryStream())
{
    using (Metadata metadata = new Metadata(Constants.InputPng))
    {
        // Edit or remove metadata here

        metadata.Save(stream);
    }
}

See Also


Save(string)

Saves the document content to the specified file.

public void Save(string filePath)
Parameter Type Description
filePath String The full name of the output file.

Remarks

Learn more

Examples

This example shows how to save a document to the specified location.

using (Metadata metadata = new Metadata(Constants.InputJpeg))
{
    // Edit or remove metadata here

    metadata.Save(Constants.OutputJpeg);
}

See Also