In This Topic
Saves chart as image with to the specified stream.
Syntax
'Declaration
Public Sub SaveImage( _
ByVal As Stream, _
ByVal As ImageFormat, _
Optional ByVal As Integer, _
Optional ByVal As Integer, _
Optional ByVal As Nullable(Of Color), _
Optional ByVal As Integer, _
Optional ByVal 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