Returns the contents of an image.
シンタックス
'宣言
Public Shared Function ImageToByteArray( _
ByVal As System.Drawing.Image, _
ByVal As System.Drawing.Imaging.ImageFormat _
) As System.Byte()
public static System.byte[] ImageToByteArray(
System.Drawing.Image ,
System.Drawing.Imaging.ImageFormat
)
パラメータ
- image
- Image to return as a byte array.
- format
- Format in which to return the image contents.
参照