Click or drag to resize

LightningChartSaveToStream Method (Stream, TargetImageFormat, BitmapAntialiasOptions)

LightningChart .NET Help
Save the chart into stream in given format and anti-aliasing options.

Note that the stream's position is at the end. In order to read it to some other variable, rewind it first using seek.

Namespace:  Arction.Wpf.ChartingMVVM
Assembly:  Arction.Wpf.ChartingMVVM.LightningChart (in Arction.Wpf.ChartingMVVM.LightningChart.dll) Version: 10.3.1
Syntax
public bool SaveToStream(
	Stream stream,
	TargetImageFormat format,
	BitmapAntialiasOptions antialiasOptions
)

Parameters

stream
Type: System.IOStream
Stream to write to.
format
Type: Arction.Wpf.ChartingMVVMTargetImageFormat
Image format.
antialiasOptions
Type: Arction.Wpf.ChartingMVVMBitmapAntialiasOptions
Anti-alias options.

Return Value

Type: Boolean
True if succeeded, false otherwise.
See Also