[]
        
(Showing Draft Content)

C1.Win.Input.C1PictureBox.ImageToByteArray

ImageToByteArray Method

ImageToByteArray(Image, ImageFormat)

Returns the contents of an image.

Declaration
public static byte[] ImageToByteArray(Image image, ImageFormat format)
Parameters
Type Name Description
Image image

Image to return as a byte array.

ImageFormat format

Format in which to return the image contents.

Returns
Type Description
byte[]