ComponentOne Chart for WPF and Silverlight
C1.WPF.C1Chart.Extended Namespace / Export Class / SaveImage Method / SaveImage(C1Chart,Stream,ImageFormat) Method


In This Topic
    SaveImage(C1Chart,Stream,ImageFormat) Method
    In This Topic
    Saves the chart image to the provided stream using the specified image format.
    Syntax
    'Declaration
     
    
    <ExtensionAttribute()>
    Public Overloads Shared Sub SaveImage( _
       ByVal chart As C1Chart, _
       ByVal stream As Stream, _
       ByVal imageFormat As ImageFormat _
    ) 
    'Usage
     
    
    Dim chart As C1Chart
    Dim stream As Stream
    Dim imageFormat As ImageFormat
     
    Export.SaveImage(chart, stream, imageFormat)
    [Extension()]
    public static void SaveImage( 
       C1Chart chart,
       Stream stream,
       ImageFormat imageFormat
    )

    Parameters

    chart
    stream
    imageFormat
    See Also