ComponentOne FinancialChart for WPF
C1.WPF.Chart Namespace / FlexChartBase 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
    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 _
    ) 
    'Usage
     
    
    Dim instance As FlexChartBase
    Dim stream As Stream
    Dim fmt As ImageFormat
    Dim w As Integer
    Dim h As Integer
    Dim backColor As Nullable(Of Color)
    Dim dpiX As Integer
    Dim dpiY As Integer
     
    instance.SaveImage(stream, fmt, w, h, backColor, dpiX, 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