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





stream
The stream containing the image to open
startPage
The zero based index of the first page to load
numPages
The number of pages to load, -1 to load all pages

Glossary Item Box

Opens the image contained in the stream and loads all the pages into the collection.

Syntax

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

Parameters

stream
The stream containing the image to open
startPage
The zero based index of the first page to load
numPages
The number of pages to load, -1 to load 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.