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





filename
The filename.
startpage
The zero based index of the first page to save.
pages
The number of pages to save or -1 to save all pages.

Glossary Item Box

Saves the specified images in the collection to the specified filename using the default encoder for the specified file extension. If the encoder does not support writing multi page files and pages > 1 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 _
) 
Visual Basic (Usage)Copy Code
Dim instance As Viewer
Dim filename As System.String
Dim startpage As System.Integer
Dim pages As System.Integer
 
instance.Save(filename, startpage, pages)
C# 
public void Save( 
   System.string filename,
   System.int startpage,
   System.int pages
)
JScript 
public function Save( 
   filename : System.String,
   startpage : System.int,
   pages : System.int
);
Managed Extensions for C++ 
public: void Save( 
   System.string* filename,
   System.int startpage,
   System.int pages
) 
C++/CLI 
public:
void Save( 
   System.String^ filename,
   System.int startpage,
   System.int pages
) 

Parameters

filename
The filename.
startpage
The zero based index of the first page to save.
pages
The number of pages to save or -1 to save all pages.

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.