Table of Contents

Method IsNotNullAndOk

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

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 Image

The image to test.

Returns

bool

true if the image parameter is not null and has non-empty width and height; otherwise, false.