ComponentOne Input for WinForms
ImageToByteArray Method

C1.Win.C1Input.4 Assembly > 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 System.Drawing.Image, _
   ByVal format As System.Drawing.Imaging.ImageFormat _
) As System.Byte()
public static System.byte[] ImageToByteArray( 
   System.Drawing.Image image,
   System.Drawing.Imaging.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