Accusoft.TwainPro8.Net
SaveToStream Method
See Also  Send Feedback
Accusoft.TwainProSdk Namespace > ScannedImage Class : SaveToStream Method




stream
An opened and writable System.IO.Stream derived stream object.
saveOptions
A SaveOptions which represents the options to use to save the image.

Glossary Item Box

Saves the TwainPro-compressed image to a stream object (the image has been compressed by the TwainPro software, e.g., PNG, TIFF, PDF, JPEG, etc).

Syntax

 
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.

Remarks

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.

See Also

©2013. Accusoft Corporation. All Rights Reserved.