Accusoft.ImagXpressSdk Namespace > ImageX Class > FromStream Method : FromStream(ImagXpress,Stream,Int32,LoadOptions) Method |
'Declaration Public Overloads Shared Function FromStream( _ ByVal imagXpress As ImagXpress, _ ByVal stream As Stream, _ ByVal pageNumber As Integer, _ ByVal loadOptions As LoadOptions _ ) As ImageX
'Usage Dim imagXpress As ImagXpress Dim stream As Stream Dim pageNumber As Integer Dim loadOptions As LoadOptions Dim value As ImageX value = ImageX.FromStream(imagXpress, stream, pageNumber, loadOptions)
public static ImageX FromStream( ImagXpress imagXpress, Stream stream, int pageNumber, LoadOptions loadOptions )
public: static ImageX* FromStream( ImagXpress* imagXpress, Stream* stream, int pageNumber, LoadOptions* loadOptions )
public: static ImageX^ FromStream( ImagXpress^ imagXpress, Stream^ stream, int pageNumber, LoadOptions^ loadOptions )
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.
Note: PDF support is deprecated in ImagXpress, please use PDF Xpress instead for PDF support.