MonoTouch.UIKit.UIImage.FromResource Method
Loads an image from a resource embedded in the assembly.
Syntax
Parameters
- assembly
- The resource is looked up in this assembly. If the value is null, the resource is looked up in the assembly that calls this method.
- name
- The name of the embedded resource
Returns
The image loaded from the specified assembly.
Remarks
If the passed parameter for assembly is null, then the resource is looked up in the calling assembly using Assembly.GetCallingAssembly.
This can be used from a background thread.
Requirements
Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0