Accusoft.TwainPro9.Net
SaveToStream Method




An opened and writable System.IO.Stream derived stream object.
A SaveOptions which represents the options to use to save the image.
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
'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)
public void SaveToStream( 
   Stream stream,
   SaveOptions saveOptions
)
public: void SaveToStream( 
   Stream* stream,
   SaveOptions* saveOptions
) 
public:
void SaveToStream( 
   Stream^ stream,
   SaveOptions^ 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

Reference

ScannedImage Class
ScannedImage Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback