ImageMan.Net Version 3 Summer 2012 Release
Save(Stream,Int32,Int32,ImEncoder) Method
See Also  Send Feedback
DTI.ImageMan Namespace > ImageCollection Class > Save Method : Save(Stream,Int32,Int32,ImEncoder) Method





stream
The stream to save to.
startpage
The zero based index of the first page to save.
pagesToSave
The # of pages to save.
encoder
The encoder to use.

Glossary Item Box

Saves the specified images in the collection to the specified stream using the specified encoder. If the encoder does not support writing multi page files then an exception will be thrown.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub Save( _
   ByVal stream As System.IO.Stream, _
   ByVal startpage As System.Integer, _
   ByVal pagesToSave As System.Integer, _
   ByVal encoder As ImEncoder _
) 
Visual Basic (Usage)Copy Code
Dim instance As ImageCollection
Dim stream As System.IO.Stream
Dim startpage As System.Integer
Dim pagesToSave As System.Integer
Dim encoder As ImEncoder
 
instance.Save(stream, startpage, pagesToSave, encoder)
C# 
public void Save( 
   System.IO.Stream stream,
   System.int startpage,
   System.int pagesToSave,
   ImEncoder encoder
)
JScript 
public function Save( 
   stream : System.IO.Stream,
   startpage : System.int,
   pagesToSave : System.int,
   encoder : ImEncoder
);
Managed Extensions for C++ 
public: void Save( 
   System.IO.Stream* stream,
   System.int startpage,
   System.int pagesToSave,
   ImEncoder* encoder
) 
C++/CLI 
public:
void Save( 
   System.IO.Stream^ stream,
   System.int startpage,
   System.int pagesToSave,
   ImEncoder^ encoder
) 

Parameters

stream
The stream to save to.
startpage
The zero based index of the first page to save.
pagesToSave
The # of pages to save.
encoder
The encoder to use.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.