[]
        
(Showing Draft Content)

C1.WinUI.Chart.FlexChartBase.SaveImage

SaveImage Method

SaveImage(IRandomAccessStream, ImageFormat, int, int, Color?)

Saves chart as image with to the specified stream.

Declaration
public Task SaveImage(IRandomAccessStream stream, ImageFormat fmt, int w = 0, int h = 0, Color? backColor = null)
Parameters
Type Name Description
IRandomAccessStream stream

Stream

ImageFormat fmt

Image format.

int w

Width of image.

int h

Height of image

Color? backColor

The background of image.

Returns
Type Description
Task