UIImage.FromFile(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Export("imageWithContentsOfFile:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
[ObjCRuntime.ThreadSafe]
public static UIKit.UIImage? FromFile(string filename);
[<Foundation.Export("imageWithContentsOfFile:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<ObjCRuntime.ThreadSafe>]
static member FromFile : string -> UIKit.UIImage
Parameters
- filename
- String
Returns
- Attributes