Accusoft.ImagXpress13.Net
QueryFromStream(ImagXpress,Stream,Int32,LoadOptions) 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 which contains image information.
An integer value which represents the page number. This parameter is one-based. So, pageNumber = 1 corresponds to the first page.
Additional load options which contain data for loading the image.
Query buffer stream for image information such as width, height, bitdepth and image data type. Options can select to query for other options constraints.
Syntax
'Declaration
 
Public Overloads Shared Function QueryFromStream( _
   ByVal imagXpress As ImagXpress, _
   ByVal stream As Stream, _
   ByVal pageNumber As Integer, _
   ByVal loadOptions As LoadOptions _
) As ImageXData
'Usage
 
Dim imagXpress As ImagXpress
Dim stream As Stream
Dim pageNumber As Integer
Dim loadOptions As LoadOptions
Dim value As ImageXData
 
value = ImageX.QueryFromStream(imagXpress, stream, pageNumber, loadOptions)
public static ImageXData QueryFromStream( 
   ImagXpress imagXpress,
   Stream stream,
   int pageNumber,
   LoadOptions loadOptions
)
public: static ImageXData* QueryFromStream( 
   ImagXpress* imagXpress,
   Stream* stream,
   int pageNumber,
   LoadOptions* loadOptions
) 
public:
static ImageXData^ QueryFromStream( 
   ImagXpress^ imagXpress,
   Stream^ stream,
   int pageNumber,
   LoadOptions^ loadOptions
) 

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 which contains image information.
pageNumber
An integer value which represents the page number. This parameter is one-based. So, pageNumber = 1 corresponds to the first page.
loadOptions
Additional load options which contain data for loading the image.

Return Value

An ImageXData object containing information about the image being queried.
See Also

Reference

ImageX Class
ImageX Members
Overload List

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback