Method Save
- Namespace
- PaintDotNet.FileTypes
- Assembly
- PaintDotNet.FileTypes.dll
Save(Stream, IReadOnlyFileTypeDocument, IFileTypeSaveOptions, ProgressEventHandler?)
Saves the specified document to the output stream.
void Save(Stream output, IReadOnlyFileTypeDocument document, IFileTypeSaveOptions options, ProgressEventHandler? progressCallback = null)
Parameters
outputStreamThe stream to write the image data to.
documentIReadOnlyFileTypeDocumentThe document containing the image data to save.
optionsIFileTypeSaveOptionsThe save options to use.
progressCallbackProgressEventHandlerAn optional callback to report save progress.