WorkspaceViewerSave Method (Stream, ImageEncoder, Int32) |
Saves the current image(s) to a stream using the specified encoder and frame index.
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(
Stream stream,
ImageEncoder encoder,
int frameIndex
)
Public Sub Save (
stream As Stream,
encoder As ImageEncoder,
frameIndex As Integer
)
Parameters
- stream
- Type: System.IOStream
The stream to save the image(s) into. - encoder
- Type: Atalasoft.Imaging.CodecImageEncoder
The ImageEncoder used to encode the image data. - frameIndex
- Type: SystemInt32
The image index in the collection to save. Set this to -1 if all images are to be saved.
See Also