Click or drag to resize

DocumentViewerSave Method (String, ImageEncoder)

Saves the image(s) to a file using the supplied encoder.

Namespace:  Atalasoft.Imaging.WinControls
Assembly:  Atalasoft.dotImage.WinControls (in Atalasoft.dotImage.WinControls.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public void Save(
	string fileName,
	ImageEncoder encoder
)

Parameters

fileName
Type: SystemString
The file where the image(s) will be saved.
encoder
Type: Atalasoft.Imaging.CodecImageEncoder
The ImageEncoder to use when saving. If this encoder derives from MultiFramedImageEncoder, all images will be saved.
Exceptions
ExceptionCondition
ArgumentNullException Thrown if any argument is null (Nothing in VB).
See Also