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


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

    Parameters

    chart
    stream
    imageFormat
    dpiX
    dpiY
    See Also