LightningChartSaveToStream Method (Stream, TargetImageFormat, BitmapAntialiasOptions, Int32, Int32, Boolean) |
LightningChart .NET Help
Save the chart into stream in given format and anti-aliasing options.
Namespace:
Arction.Wpf.Charting
Assembly:
Arction.Wpf.Charting.LightningChart (in Arction.Wpf.Charting.LightningChart.dll) Version: 10.3.1
Syntaxpublic bool SaveToStream(
Stream stream,
TargetImageFormat format,
BitmapAntialiasOptions antialiasOptions,
int width,
int height,
bool AllowScreenCoordinateChanges = true
)
Public Function SaveToStream (
stream As Stream,
format As TargetImageFormat,
antialiasOptions As BitmapAntialiasOptions,
width As Integer,
height As Integer,
Optional AllowScreenCoordinateChanges As Boolean = true
) As Boolean
public:
bool SaveToStream(
Stream^ stream,
TargetImageFormat format,
BitmapAntialiasOptions^ antialiasOptions,
int width,
int height,
bool AllowScreenCoordinateChanges = true
)
Parameters
- stream
- Type: System.IOStream
Stream to write to. - format
- Type: Arction.Wpf.ChartingTargetImageFormat
Image format. - antialiasOptions
- Type: Arction.Wpf.ChartingBitmapAntialiasOptions
Antialias options. - width
- Type: SystemInt32
Width of required output - height
- Type: SystemInt32
Height of required output - AllowScreenCoordinateChanges (Optional)
- Type: SystemBoolean
Allows screen coordinates of certain elements to be
scaled by factor of defined size and original size to keep then in place in relation to other
chart elements in vector exports.
If unsure, use value true. Should be set to false if annotation tables or such constructs are used.
Affects only vector output (emf and svg).
Return Value
Type:
Booleantrue if succeeded, false otherwise
See Also