Accusoft.TwainProSdk Namespace > ScannedImage Class : SaveStream Method |
'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 )
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.