Create an image from binary data.
Syntax

[C#]

static XImage FromData(string inType, byte[] inData);
static XImage FromData(string inType, byte[] inData, XImageLoadOptions inOptions);

[Visual Basic]

Shared Function FromData(inType As String, inData As Byte()) As XImage
Shared Function FromData(inType As String, inData As Byte(), inOptions As XImageLoadOptions) As XImage
Params
Name Description
inType The type of image to be imported (the extension, with or without a leading dot).
inData The binary data of the image to be imported, as an array.
inOptions The image load options.
Notes

Use this method when you want to create an XImage from binary encoded image data.

See Also

FromFile

FromData

Example

None.