AtalaImageViewerSave Method (String, ImageEncoder, ProgressEventHandler) |
Saves the image to a file using the provided encoder.
Namespace:
Atalasoft.Imaging.Wpf
Assembly:
Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public void Save(
string fileName,
ImageEncoder encoder,
ProgressEventHandler progress
)
Public Sub Save (
fileName As String,
encoder As ImageEncoder,
progress As ProgressEventHandler
)
Parameters
- fileName
- Type: SystemString
The filename for the new image. If the file already exists, it will be overwritten.
- encoder
- Type: Atalasoft.Imaging.CodecImageEncoder
The ImageEncoder to use when saving the image. - progress
- Type: Atalasoft.ImagingProgressEventHandler
A ProgressEventHandler used to provide progress during the save process.
This can be null (Nothing in VB).
Exceptions Exception | Condition |
---|
| Thrown if the encoder is null (Nothing in VB). |
See Also