Visual Basic
C#
Managed Extensions for C++
C++/CLI
'Declaration Public Sub SaveToStream( _ ByVal stream As Stream, _ ByVal saveOptions As SaveOptions _ )
'Usage Dim instance As ScannedImage Dim stream As Stream Dim saveOptions As SaveOptions instance.SaveToStream(stream, saveOptions)
Parameters
- stream
- An opened and writable System.IO.Stream derived stream object.
- saveOptions
- A SaveOptions which represents the options to use to save the image.
The stream passed can be any stream derived System.IO.Stream. The stream should be opened by calling this method.
The stream should also allow writes.