Accusoft.ImagXpressSdk Namespace > ImageX Class > SaveStream Method : SaveStream(Stream,ImageXFormat) Method |
'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 )
Note: PDF support is deprecated in ImagXpress, please use PDF Xpress instead for PDF support.
// 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( );