net90_PropertyGridHelpers.UIEditors_ImageTextUIEditor_GetImageFromFile - dparvin/PropertyGridHelpers GitHub Wiki

ImageTextUIEditor.GetImageFromFile method

Gets the image from file.

public static Bitmap GetImageFromFile(object Value, string ResourceItem, string ResourcePath, 
    string fileExtension)
parameter description
Value The value.
ResourceItem The resource entry to retrieve.
ResourcePath The resource path.
fileExtension The file extension.

Exceptions

exception condition
ArgumentNullException Value
ArgumentException '{nameof(ResourceItem)}' cannot be null or empty. - ResourceItem or '{nameof(ResourcePath)}' cannot be null or empty. - ResourcePath
ArgumentNullException Value
ArgumentException '{nameof(ResourceItem)}' cannot be null or empty. - ResourceItem or '{nameof(ResourcePath)}' cannot be null or empty. - ResourcePath

See Also

⚠️ **GitHub.com Fallback** ⚠️