Method IsNotNullAndOk
IsNotNullAndOk(Image?)
Indicates whether the specified image is not null
and has non-empty width and height.
public static bool IsNotNullAndOk(Image? image)
Parameters
image
ImageThe image to test.
Returns
- bool
true
if theimage
parameter is notnull
and has non-empty width and height; otherwise,false
.