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. |
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 |