Load an image from a file. LoadImage detects file format from extension.
If the file does not represent a recognized image format the property Aborting is True.
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0
Syntax
C# | Visual Basic | Visual C++ |
public void LoadImage( string fileName )
Public Sub LoadImage ( _ fileName As String _ )
public: void LoadImage( String^ fileName )
Parameters
- fileName
- String
Used to indicate the file path with extension
Return Value
No return valueRemarks
This sample shows how to load test1.jpg
CopyC#
Image.LoadImage("test1.jpg");