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