Method IsNullOrEmpty
IsNullOrEmpty(Image?)
Indicates whether the specified image is null
or has an empty width (or height).
public static bool IsNullOrEmpty(Image? image)
Parameters
image
ImageThe image to test.
Returns
- bool
true
if theimage
parameter isnull
or has an empty width (or height); otherwise,false
.