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


In This Topic
    SaveImage(C1Chart,Stream,BitmapEncoder,Double,Double) Method
    In This Topic
    Saves the chart image to the provided stream using the specified encoder with the specified horizontal and vertical resolution.
    Syntax
    'Declaration
     
    
    <ExtensionAttribute()>
    Public Overloads Shared Sub SaveImage( _
       ByVal chart As C1Chart, _
       ByVal stream As Stream, _
       ByVal encoder As BitmapEncoder, _
       ByVal dpiX As Double, _
       ByVal dpiY As Double _
    ) 
    'Usage
     
    
    Dim chart As C1Chart
    Dim stream As Stream
    Dim encoder As BitmapEncoder
    Dim dpiX As Double
    Dim dpiY As Double
     
    Export.SaveImage(chart, stream, encoder, dpiX, dpiY)
    [Extension()]
    public static void SaveImage( 
       C1Chart chart,
       Stream stream,
       BitmapEncoder encoder,
       double dpiX,
       double dpiY
    )

    Parameters

    chart
    stream
    encoder
    dpiX
    dpiY
    See Also