'宣言 Public Shared Function WriteImageToStream( _ ByVal image As System.Drawing.Image, _ ByVal imageFormat As System.Drawing.Imaging.ImageFormat, _ ByVal stream As System.IO.Stream _ ) As System.Drawing.Imaging.ImageFormat
'使用法 Dim image As System.Drawing.Image Dim imageFormat As System.Drawing.Imaging.ImageFormat Dim stream As System.IO.Stream Dim value As System.Drawing.Imaging.ImageFormat value = Utils.WriteImageToStream(image, imageFormat, stream)
public static System.Drawing.Imaging.ImageFormat WriteImageToStream( System.Drawing.Image image, System.Drawing.Imaging.ImageFormat imageFormat, System.IO.Stream stream )
パラメータ
- image
- imageFormat
- stream
戻り値の型
画像の保存に実際に使用された System.Drawing.Imaging.ImageFormatを返します。 書き込み中にエラーが発生した場合は null を返します。