ResourceManagerGetImage Method (ResourceManager, String)

Stator | API Documentation
Get an image from the passed in resource manager

Be sure to check for NULL as this function will return null if no resource is found

Namespace:  Stator.libPublic.Utilities
Assembly:  libPublic (in libPublic.dll) Version: 4.0.2018.0 (4.0.18103)
Syntax

public static Image GetImage(
	ResourceManager resourceManager,
	string resourceName
)

Parameters

resourceManager
Type: System.ResourcesResourceManager
A ResourceManager class that you instantiate in your own code
resourceName
Type: SystemString
A string used to identify the (base) resource

Return Value

Type: Image
An image for the resource name or NULL if not found
See Also

Reference