'Declaration Public Shared Function FromFile( _ ByVal path As System.String, _ Optional ByVal binding As ImageBinding, _ Optional ByVal frameIndex As System.Integer _ ) As Image
public static Image FromFile( System.string path, ImageBinding binding, System.int frameIndex )
Parameters
- path
- The file path to the image.
- binding
- Specifies how the image data is attached to the Image object.
- frameIndex
- Index of an image frame to read, pass 0 for image formats not supporting multiple frames.
Return Value
The newly created Image object.