ImageSource.FromFile(String) 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
String String

The name of a file that contains a valid image.

Returns

Applies to