FlexReport for .NET | ComponentOne
C1.WPF.Document Assembly / C1.WPF.Document 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