TButtonBaseLoadImageFromByteArray Method

Loads a PNG image from a byte array.

Definition

Namespace: BeeMobile.TransparentControls
Assembly: BeeMobile.TransparentControls.NET48 (in BeeMobile.TransparentControls.NET48.dll) Version: 4.8.8.20
C#
protected void LoadImageFromByteArray(
	byte[] sourceArray,
	ref PngImage destinationPngImage
)

Parameters

sourceArray  Byte
The source byte array to load image from.
destinationPngImage  PngImage
The reference to the output PngImage.

Exceptions

ArgumentException Thrown if the provided sourceArray does not contain a valid PNG image.

See Also