Click or drag to resize

ImageCollectionSave Method (Stream, ImageEncoder, ProgressEventHandler)

Save the images in this ImageCollection to a stream specifying the %ImageEncoder% to use for encoding the image data.

Namespace:  Atalasoft.Imaging
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public long Save(
	Stream stream,
	ImageEncoder encoder,
	ProgressEventHandler progress
)

Parameters

stream
Type: System.IOStream
A stream containing the file which the image will be encoded to. This stream must have FileAccess.ReadWrite set or else only the first image will be saved.
encoder
Type: Atalasoft.Imaging.CodecImageEncoder
The ImageEncoder which will be used to encode the image.
progress
Type: Atalasoft.ImagingProgressEventHandler
The progress delegate. Can be set to null (Nothing in VB).

Return Value

Type: Int64
Remarks
The ImageEncoder must have the IAppendable interface in order to save multiple images in one file.
See Also