Skip to content

net90_PropertyGridHelpers.UIEditors_ImageTextUIEditor_GetImageFromFile

dparvin edited this page May 25, 2025 · 10 revisions

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

Clone this wiki locally