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




imagXpress
An instance of the ImagXpress workspace component. This is the main ImagXpress component that typically must be dragged onto a form first.
filename
A string which represents the filename.
pageNumber
An integer value which represents the page number.

Glossary Item Box

Loads an Image from the specified file.

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.
filename
A string which represents the filename.
pageNumber
An integer value which represents the page number.

Return Value

The 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

©2013. Accusoft Corporation. All Rights Reserved.