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





stream
The stream containing the image to open
pageNumber
The number of the page in the image to open (0 based).

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 _
) As ImImage
Visual Basic (Usage)Copy Code
Dim stream As System.IO.Stream
Dim pageNumber As System.Integer
Dim value As ImImage
 
value = ImImage.Load(stream, pageNumber)
C# 
public static ImImage Load( 
   System.IO.Stream stream,
   System.int pageNumber
)
JScript 
public static function Load( 
   stream : System.IO.Stream,
   pageNumber : System.int
) : ImImage;
Managed Extensions for C++ 
public: static ImImage* Load( 
   System.IO.Stream* stream,
   System.int pageNumber
) 
C++/CLI 
public:
static ImImage^ Load( 
   System.IO.Stream^ stream,
   System.int pageNumber
) 

Parameters

stream
The stream containing the image to open
pageNumber
The number of the page in the image to open (0 based).

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.