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





imgStream
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 the specified pages into the collection

Syntax

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

Parameters

imgStream
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.