Method Save
- Namespace
- PaintDotNet.FileTypes
- Assembly
- PaintDotNet.FileTypes.dll
Save(Stream, IReadOnlyFileTypeDocument, IPngFileTypeSaveOptions, ProgressEventHandler?)
Saves a document as a PNG to the given Stream and with the specified options.
void Save(Stream output, IReadOnlyFileTypeDocument document, IPngFileTypeSaveOptions options, ProgressEventHandler? progressCallback = null)
Parameters
outputStreamdocumentIReadOnlyFileTypeDocumentoptionsIPngFileTypeSaveOptionsprogressCallbackProgressEventHandler