Accusoft.ImagXpress12.Net
FromStream(ImagXpress,Stream,Int32,LoadOptions) Method
See Also  Send Feedback
Accusoft.ImagXpressSdk Namespace > ImageX Class > FromStream Method : FromStream(ImagXpress,Stream,Int32,LoadOptions) Method




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 which represents the page number.
loadOptions
Additional load options that pertain to the image.

Glossary Item Box

Returns an ImageX object from the given ImagXpress instance, stream, page number and load options.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

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 which represents the page number.
loadOptions
Additional load options that pertain to the image.

Return Value

The newly created ImageX object.

Remarks

Note: Loading CameraRaw files from a stream is not supported as the entire image must be loaded before the CameraRaw format can be recognized. When LoadOptions.CameraRawEnabled = true, the CameraRaw image can only be loaded from a file.

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

©2013. Accusoft Corporation. All Rights Reserved.