Description:
Load a Image from an embedded resource.
Syntax:
public static Image ImageFromResource(
String resourceName,
Assembly assembly
)
String resourceName,
Assembly assembly
)
Parameters:
- resourceName
- Type: System.String
- The case-sensitive name of the image manifest resource being requested.
- assembly
- Type: System.Reflection.Assembly
- The assembly containing the manifest resource, will use the calling assembly if null.
Returns:
Type: Image
The Image resource if found and loaded otherwise null.
Available since:
6.0