ComponentOne FlexReport for WinForms
WriteImageToFile Method

C1.Win.C1Document.4 Assembly > C1.Win.C1Document Namespace > Utils Class : WriteImageToFile Method
Writes specified image to file.
Syntax
'Declaration
 
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
public static System.Drawing.Imaging.ImageFormat WriteImageToFile( 
   System.Drawing.Image image,
   System.Drawing.Imaging.ImageFormat imageFormat,
   System.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.
See Also

Reference

Utils Class
Utils Members