Click or drag to resize

DocumentViewerSave Method (Stream, ImageEncoder)

Saves the image(s) to a stream 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 virtual void Save(
	Stream stream,
	ImageEncoder encoder
)

Parameters

stream
Type: System.IOStream
The stream to save the image(s) into.
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