Accusoft.ImagXpress13.Net
FromStream(ImagXpress,Stream,Int32) Method




An instance of the ImagXpress workspace component. This is the main ImagXpress component that typically must be dragged onto a form first.
A stream to obtain the image from.
An integer value which represents the page number. This parameter is one-based. So, pageNumber = 1 corresponds to the first page.
Returns an ImageX object from the given ImagXpress instance, stream and page number.
Syntax
'Declaration
 
Public Overloads Shared Function FromStream( _
   ByVal imagXpress As ImagXpress, _
   ByVal stream As Stream, _
   ByVal pageNumber As Integer _
) As ImageX
'Usage
 
Dim imagXpress As ImagXpress
Dim stream As Stream
Dim pageNumber As Integer
Dim value As ImageX
 
value = ImageX.FromStream(imagXpress, stream, pageNumber)
public static ImageX FromStream( 
   ImagXpress imagXpress,
   Stream stream,
   int pageNumber
)
public: static ImageX* FromStream( 
   ImagXpress* imagXpress,
   Stream* stream,
   int pageNumber
) 
public:
static ImageX^ FromStream( 
   ImagXpress^ imagXpress,
   Stream^ stream,
   int pageNumber
) 

Parameters

imagXpress
An instance of the ImagXpress workspace component. This is the main ImagXpress component that typically must be dragged onto a form first.
stream
A stream to obtain the image from.
pageNumber
An integer value which represents the page number. This parameter is one-based. So, pageNumber = 1 corresponds to the first page.

Return Value

The newly created ImageX object.
Remarks

The ImageX object implements the IDisposable interface and the application is required to call the Dispose method when the application is done with ImageX object, otherwise memory may leak.

See Also

Reference

ImageX Class
ImageX Members
Overload List

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback