MindFusion.Java Package Programmer's Guide
CommonUtils.imageFromFile Method
See Also
 






Loads an image from the specified file.

Namespace: com.mindfusion.common
Package: com.mindfusion.common

 Syntax

Java  Copy Code

public static Image imageFromFile (
    String filePath
)

 Parameters

filePath

A string containing file path.

 Return Value

A java.awt.Image instance representing the loaded bitmap, or null if I/O error occurred.

 See Also

CommonUtils Members
CommonUtils Class
com.mindfusion.common Namespace