LightningChartSaveToFile Method (String) |
LightningChart .NET Help
Save the chart into a image file with no extra anti-aliasing applied.
Namespace:
Arction.Wpf.Charting
Assembly:
Arction.Wpf.Charting.LightningChart (in Arction.Wpf.Charting.LightningChart.dll) Version: 10.3.1
Syntaxpublic bool SaveToFile(
string fileName
)
Public Function SaveToFile (
fileName As String
) As Boolean
public:
bool SaveToFile(
String^ fileName
)
Parameters
- fileName
- Type: SystemString
Target file name. You must include file extension (png, bmp, jpg, tif, gif, emf, svg).
Return Value
Type:
BooleanTrue if the image was successfully written to file.
Returns false on invalid file extension or on file write failure.
See Also