ImageCollection.Save 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.5.0.0.0.156 (.NET 4.6.2, x86)
Syntax public long Save(
Stream stream,
ImageEncoder encoder,
ProgressEventHandler progress
)
Public Function Save (
stream As Stream,
encoder As ImageEncoder,
progress As ProgressEventHandler
) As Long
Parameters
- stream
- Type: System.IO.Stream
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.Codec.ImageEncoder
The ImageEncoder which will be used to encode the image. - progress
- Type: Atalasoft.Imaging.ProgressEventHandler
The progress delegate. Can be set to null (Nothing in
VB).
Return Value
Type:
Int64Remarks The ImageEncoder must have the
IAppendable interface in order to save multiple images in one
file.
See Also