Query buffer stream for image information such as width, height, bitdepth and image data type.
'Declaration
Public Overloads Shared Function QueryFromStream( _
ByVal As ImagXpress, _
ByVal As Stream, _
ByVal As Integer _
) As ImageXData
'Usage
Dim imagXpress As ImagXpress
Dim stream As Stream
Dim pageNumber As Integer
Dim value As ImageXData
value = ImageX.QueryFromStream(imagXpress, stream, pageNumber)
public static ImageXData QueryFromStream(
ImagXpress ,
Stream ,
int
)
public: static ImageXData* QueryFromStream(
ImagXpress* ,
Stream* ,
int
)
public:
static ImageXData^ QueryFromStream(
ImagXpress^ ,
Stream^ ,
int
)
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.
Return Value
An ImageXData object containing information about the image being queried.