MonoMobile.Views.UIImageExtensions.FromFile C# (CSharp) Method

FromFile() public static method

public static FromFile ( this image, string filename, SizeF fitSize ) : UIImage
image this
filename string
fitSize System.Drawing.SizeF
return UIImage
		public static UIImage FromFile(this UIImage image, string filename, SizeF fitSize)
		{
			var imageFile = UIImage.FromFile(filename);
			
			return imageFile.ImageToFitSize(fitSize);
		}