ComponentOne MultiSelect for WinForms
ImageToByteArray Method

C1.Win.C1Input Namespace > C1PictureBox Class : ImageToByteArray Method
Image to return as a byte array.
Format in which to return the image contents.
Returns the contents of an image.
Syntax
'Declaration
 
Public Shared Function ImageToByteArray( _
   ByVal image As Image, _
   ByVal format As ImageFormat _
) As Byte()
public static byte[] ImageToByteArray( 
   Image image,
   ImageFormat format
)

Parameters

image
Image to return as a byte array.
format
Format in which to return the image contents.
See Also

Reference

C1PictureBox Class
C1PictureBox Members