MetadataSave Method (Stream) |
Saves the document content into a stream.
Namespace: GroupDocs.MetadataAssembly: GroupDocs.Metadata (in GroupDocs.Metadata.dll) Version: 20.10
Syntaxpublic void Save(
Stream document
)
Public Sub Save (
document As Stream
)
public:
void Save(
Stream^ document
)
member Save :
document : Stream -> unit
Parameters
- document
- Type: System.IOStream
An output stream for the document.
Remarks
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))
{
metadata.Save(stream);
}
}
See Also