BitmapFromResource Method (String, Assembly) | 
 
            Loads a bitmap from the resource in the specified or caller's assembly
            
 
    Namespace: 
   Eto.Drawing
    Assembly:
   Eto (in Eto.dll) Version: 2.5.3-dev
Syntaxpublic static Bitmap FromResource(
	string resourceName,
	Assembly assembly = null
)
Public Shared Function FromResource ( 
	resourceName As String,
	Optional assembly As Assembly = Nothing
) As Bitmap
static member FromResource : 
        resourceName : string * 
        ?assembly : Assembly 
(* Defaults:
        let _assembly = defaultArg assembly null
*)
-> Bitmap 
Parameters
- resourceName
 - Type: SystemString
Name of the resource in the caller's assembly to load. E.g. "MyProject.SomeFolder.YourFile.extension" - assembly (Optional)
 - Type: System.ReflectionAssembly
Assembly to load the resource from, or null to use the caller's assembly 
Return Value
Type: 
BitmapA new instance of a Bitmap loaded from the specified resource
See Also