Save
Contents
[
Hide
]
Save()
Saves all changes made in the loaded document.
public void Save()
Remarks
Learn more
- Save a modified file to the original source
- Save a modified file to a specified location
- Save a modified file to a stream
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
- class Metadata
- namespace GroupDocs.Metadata
- assembly GroupDocs.Metadata
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
- Save a modified file to the original source
- Save a modified file to a specified location
- Save a modified file to a stream
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
- class Metadata
- namespace GroupDocs.Metadata
- assembly GroupDocs.Metadata
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
- Save a modified file to the original source
- Save a modified file to a specified location
- Save a modified file to a stream
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
- class Metadata
- namespace GroupDocs.Metadata
- assembly GroupDocs.Metadata