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





stream
The stream containing the image to open
pageNumber
The number of the page in the image to open (1 based).
process
A ProcessEventHandler delegate to call as the image is loaded.

Glossary Item Box

Opens the specified page of the image contained in the stream.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function Load( _
   ByVal stream As System.IO.Stream, _
   ByVal pageNumber As System.Integer, _
   ByVal process As ProcessEventHandler _
) As ImImage
Visual Basic (Usage)Copy Code
Dim stream As System.IO.Stream
Dim pageNumber As System.Integer
Dim process As ProcessEventHandler
Dim value As ImImage
 
value = ImImage.Load(stream, pageNumber, process)
C# 
public static ImImage Load( 
   System.IO.Stream stream,
   System.int pageNumber,
   ProcessEventHandler process
)
JScript 
public static function Load( 
   stream : System.IO.Stream,
   pageNumber : System.int,
   process : ProcessEventHandler
) : ImImage;
Managed Extensions for C++ 
public: static ImImage* Load( 
   System.IO.Stream* stream,
   System.int pageNumber,
   ProcessEventHandler* process
) 
C++/CLI 
public:
static ImImage^ Load( 
   System.IO.Stream^ stream,
   System.int pageNumber,
   ProcessEventHandler^ process
) 

Parameters

stream
The stream containing the image to open
pageNumber
The number of the page in the image to open (1 based).
process
A ProcessEventHandler delegate to call as the image is loaded.

Return Value

An ImImage object containing the loaded image

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.