ComponentOne MultiSelect for WinForms
C1.Win.C1Input Namespace / C1PictureBox Class / ImageToByteArray Method
Image to return as a byte array.
Format in which to return the image contents.

In This Topic
    ImageToByteArray Method (C1PictureBox)
    In This Topic
    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