Accusoft.ImagXpress13.Net
FromFile(ImagXpress,String) Method




An instance of the ImagXpress workspace component. This is the main ImagXpress component that typically must be dragged onto a form first.
String value that evaluates to a valid Windows file path.
This method allows the loading of a specific file.
Syntax
'Declaration
 
Public Overloads Shared Function FromFile( _
   ByVal imagXpress As ImagXpress, _
   ByVal filename As String _
) As ImageX
'Usage
 
Dim imagXpress As ImagXpress
Dim filename As String
Dim value As ImageX
 
value = ImageX.FromFile(imagXpress, filename)
public static ImageX FromFile( 
   ImagXpress imagXpress,
   string filename
)
public: static ImageX* FromFile( 
   ImagXpress* imagXpress,
   string* filename
) 
public:
static ImageX^ FromFile( 
   ImagXpress^ imagXpress,
   String^ filename
) 

Parameters

imagXpress
An instance of the ImagXpress workspace component. This is the main ImagXpress component that typically must be dragged onto a form first.
filename
String value that evaluates to a valid Windows file path.

Return Value

A newly created ImageX object.
Remarks

The decompressed image is stored in the ImageX object.

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

Reference

ImageX Class
ImageX Members
Overload List

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback