Share via


ImageSource.FromFile(String) Method

Definition

Returns a new FileImageSource that reads from file.

public static Xamarin.Forms.ImageSource FromFile (string file);
static member FromFile : string -> Xamarin.Forms.ImageSource

Parameters

file
System.String

The name of a file that contains a valid image.

Returns

Applies to