Save
Leave feedback
On this page
Saves all changes made in the loaded document.
public void Save()
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
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();
}
- class Metadata
- namespace GroupDocs.Metadata
- assembly GroupDocs.Metadata
Saves the document content into a stream.
public void Save(Stream document)
| Parameter | Type | Description |
|---|---|---|
| document | Stream | An output stream for the document. |
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
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);
}
}
- class Metadata
- namespace GroupDocs.Metadata
- assembly GroupDocs.Metadata
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. |
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
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);
}
- class Metadata
- namespace GroupDocs.Metadata
- assembly GroupDocs.Metadata
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.