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
imageImageThe image to test.
Returns
- bool
trueif theimageparameter is notnulland has non-empty width and height; otherwise,false.