Accusoft.ImagXpress12.Net
SaveStream(Stream,ImageXFormat) Method
See Also  Example Send Feedback
Accusoft.ImagXpressSdk Namespace > ImageX Class > SaveStream Method : SaveStream(Stream,ImageXFormat) Method




stream
An opened and writable System.IO.stream derived stream object
format
The image file format to save the ImageX object as

Glossary Item Box

Saves the current ImageX object to a stream object in the specified file format.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

stream
An opened and writable System.IO.stream derived stream object
format
The image file format to save the ImageX object as

Remarks

The stream passed can be any stream derived System.IO.Stream. The stream should be opened be calling this method. The stream should also allow writes.

Example

C#Copy Code
// assume that an ImageX object has been created and is valid
// create a memory stream that will grow as needed.
System.IO.MemoryStream memoryStream = new System.IO.MemoryStream( );
// Save an ImageX object to jpg format with default parameters
imageX.SaveStream( memoryStream, Accusoft.ImagXpressSdk.ImageXFormat.Jpeg );
memoryStream.Close( );

See Also

©2013. Accusoft Corporation. All Rights Reserved.