Accusoft.TwainPro9.Net
SaveStream Method




An opened and writable System.IO.Stream derived stream object.
A ScannedImageFormat which represents the format to use to save the image.
Deprecated, please use SaveToStream(System.IO.Stream stream, SaveOptions saveOptions) to save the TwainPro-compressed image to a stream or SaveSourceCompressedImageToStream(System.IO.Stream stream) to save the source-compressed image to a stream instead. Saves the image to a stream object.
Syntax
'Declaration
 
<ObsoleteAttribute("Deprecated, please use SaveToStream(System.IO.Stream stream, SaveOptions saveOptions) or SaveSourceCompressedImageToStream(System.IO.Stream stream) instead.")>
Public Sub SaveStream( _
   ByVal stream As Stream, _
   ByVal theFormat As ScannedImageFormat _
) 
'Usage
 
Dim instance As ScannedImage
Dim stream As Stream
Dim theFormat As ScannedImageFormat
 
instance.SaveStream(stream, theFormat)
[Obsolete("Deprecated, please use SaveToStream(System.IO.Stream stream, SaveOptions saveOptions) or SaveSourceCompressedImageToStream(System.IO.Stream stream) instead.")]
public void SaveStream( 
   Stream stream,
   ScannedImageFormat theFormat
)
[Obsolete("Deprecated, please use SaveToStream(System.IO.Stream stream, SaveOptions saveOptions) or SaveSourceCompressedImageToStream(System.IO.Stream stream) instead.")]
public: void SaveStream( 
   Stream* stream,
   ScannedImageFormat theFormat
) 
[Obsolete("Deprecated, please use SaveToStream(System.IO.Stream stream, SaveOptions saveOptions) or SaveSourceCompressedImageToStream(System.IO.Stream stream) instead.")]
public:
void SaveStream( 
   Stream^ stream,
   ScannedImageFormat theFormat
) 

Parameters

stream
An opened and writable System.IO.Stream derived stream object.
theFormat
A ScannedImageFormat which represents the format 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

Reference

ScannedImage Class
ScannedImage Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback