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





filename
The filename.
startpage
The zero based index of the first page to save.
pages
The number of pages to save.
encoder
The encoder to use.

Glossary Item Box

Saves the specified images in the collection to the specified filename 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 filename As System.String, _
   ByVal startpage As System.Integer, _
   ByVal pages As System.Integer, _
   ByVal encoder As ImEncoder _
) 
Visual Basic (Usage)Copy Code
Dim instance As Viewer
Dim filename As System.String
Dim startpage As System.Integer
Dim pages As System.Integer
Dim encoder As ImEncoder
 
instance.Save(filename, startpage, pages, encoder)
C# 
public void Save( 
   System.string filename,
   System.int startpage,
   System.int pages,
   ImEncoder encoder
)
JScript 
public function Save( 
   filename : System.String,
   startpage : System.int,
   pages : System.int,
   encoder : ImEncoder
);
Managed Extensions for C++ 
public: void Save( 
   System.string* filename,
   System.int startpage,
   System.int pages,
   ImEncoder* encoder
) 
C++/CLI 
public:
void Save( 
   System.String^ filename,
   System.int startpage,
   System.int pages,
   ImEncoder^ encoder
) 

Parameters

filename
The filename.
startpage
The zero based index of the first page to save.
pages
The number 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.