FlexChart | ComponentOne
C1.WPF.FlexChart.4.6.2 Assembly / C1.WPF.Chart Namespace / C1FlexChart Class / SaveImage Method
Stream
Image format.
Width of image.
Height of image
The background of image.
Optional image x-resolution.
Optional image y-resolution.

In This Topic
    SaveImage Method (C1FlexChart)
    In This Topic
    Saves chart as image with to the specified stream.
    Syntax
    'Declaration
     
    Public Sub SaveImage( _
       ByVal stream As Stream, _
       ByVal fmt As ImageFormat, _
       Optional ByVal w As Integer, _
       Optional ByVal h As Integer, _
       Optional ByVal backColor As Nullable(Of Color), _
       Optional ByVal dpiX As Integer, _
       Optional ByVal dpiY As Integer _
    ) 
    public void SaveImage( 
       Stream stream,
       ImageFormat fmt,
       int w,
       int h,
       Nullable<Color> backColor,
       int dpiX,
       int dpiY
    )

    Parameters

    stream
    Stream
    fmt
    Image format.
    w
    Width of image.
    h
    Height of image
    backColor
    The background of image.
    dpiX
    Optional image x-resolution.
    dpiY
    Optional image y-resolution.
    See Also