'Declaration Public Shared Function WriteImageToFile( _ ByVal image As Image, _ ByVal imageFormat As ImageFormat, _ ByVal fileName As String _ ) As ImageFormat
public static ImageFormat WriteImageToFile( Image image, ImageFormat imageFormat, string fileName )
Parameters
- image
- imageFormat
- fileName
Return Value
Returns null if error occurs during writing or System.Drawing.Imaging.ImageFormat which was actually used to save an image.