Loads an image from a file and adds it as a new image layer.
Namespace: HiComponents.IEvolutionAssembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0
Syntax
C# | Visual Basic | Visual C++ |
public int LayersCreateFromFile( string filename )
Public Function LayersCreateFromFile ( _ filename As String _ ) As Integer
public: int LayersCreateFromFile( String^ filename )
Parameters
- filename
- String
If filename is '' then an open dialog is displayed to allow the user to browse for an image to load for the layer.