Accusoft.ImagXpress13.Net
SaveStream(Stream,ImageXFormat) Method
Example 




An opened and writable System.IO.stream derived stream object
The image file format to save the ImageX object as
Saves the current ImageX object to a stream object in the specified file format.
Syntax
'Declaration
 
Public Overloads Sub SaveStream( _
   ByVal stream As Stream, _
   ByVal format As ImageXFormat _
) 
'Usage
 
Dim instance As ImageX
Dim stream As Stream
Dim format As ImageXFormat
 
instance.SaveStream(stream, format)
public void SaveStream( 
   Stream stream,
   ImageXFormat format
)
public: void SaveStream( 
   Stream* stream,
   ImageXFormat format
) 
public:
void SaveStream( 
   Stream^ stream,
   ImageXFormat format
) 

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.

Note: PDF support is deprecated in ImagXpress, please use PDF Xpress instead for PDF support.

Example
// 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

Reference

ImageX Class
ImageX Members
Overload List

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback