Click or drag to resize

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.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public void Save(
	string fileName,
	ImageEncoder encoder,
	ProgressEventHandler progress
)

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
ExceptionCondition
Thrown if the encoder is null (Nothing in VB).
See Also