FlexReport for .NET | ComponentOne
C1.Win.Document.8 Assembly / C1.Win.Document Namespace / Utils Class / WriteImageToStream Method

In This Topic
    WriteImageToStream Method (Utils)
    In This Topic
    Writes specified image to stream.
    Syntax
    'Declaration
     
    Public Shared Function WriteImageToStream( _
       ByVal image As Image, _
       ByVal imageFormat As ImageFormat, _
       ByVal stream As Stream _
    ) As ImageFormat
    public static ImageFormat WriteImageToStream( 
       Image image,
       ImageFormat imageFormat,
       Stream stream
    )

    Parameters

    image
    imageFormat
    stream

    Return Value

    Returns null if error occurs during writing or System.Drawing.Imaging.ImageFormat which was actually used to save an image.
    See Also