Query buffer stream for image information such as width, height, bitdepth and image data type. Options can select to query for other options constraints.
'Declaration
Public Overloads Shared Function QueryFromStream( _
ByVal As ImagXpress, _
ByVal As Stream, _
ByVal As Integer, _
ByVal 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 ,
Stream ,
int ,
LoadOptions
)
public: static ImageXData* QueryFromStream(
ImagXpress* ,
Stream* ,
int ,
LoadOptions*
)
public:
static ImageXData^ QueryFromStream(
ImagXpress^ ,
Stream^ ,
int ,
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.
- loadOptions
- Additional load options which contain data for loading the image.
Return Value
An ImageXData object containing information about the image being queried.