FlexReport for WinForms | ComponentOne
C1.Win.C1Document.4.5.2 Assembly / C1.Win.C1Document Namespace / Utils Class / WriteImageToFile Method

In This Topic
    WriteImageToFile Method (Utils)
    In This Topic
    Writes specified image to file.
    Syntax
    '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.
    See Also