ComponentOne FinancialChart for WPF
C1.WPF.Chart Namespace / C1FlexChart Class / SaveImage Method
Stream
Image format.
Width of image.
Height of image
The background of image.



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) _
    ) 
    'Usage
     
    
    Dim instance As C1FlexChart
    Dim stream As Stream
    Dim fmt As ImageFormat
    Dim w As Integer
    Dim h As Integer
    Dim backColor As Nullable(Of Color)
     
    instance.SaveImage(stream, fmt, w, h, backColor)
    public void SaveImage( 
       Stream stream,
       ImageFormat fmt,
       int w,
       int h,
       Nullable<Color> backColor
    )
    public:
    void SaveImage( 
       Stream^ stream,
       ImageFormat fmt,
       int w,
       int h,
       Nullable<Color> backColor
    ) 

    Parameters

    stream
    Stream
    fmt
    Image format.
    w
    Width of image.
    h
    Height of image
    backColor
    The background of image.
    See Also