Accusoft.ImagXpressSdk Namespace > ImageX Class > FromFile Method : FromFile(ImagXpress,String) Method |
'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 )
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.