SaveImageToFile(FileName: String; Width: Integer; Height; Dpi: Double);
FileName. File path, name and type.
Width. Chart image width in pixels.
Height. Chart image height in pixels.
Dpi. Image resolution in pixels.
The SaveImageToFile method enables the user to save chart image to the specified file.
This example assumes that there is the Chart object of the IChart type.
Sub Save;
Var
Chart : IChart;
Begin
Chart.SaveImageToFile("c:\1.bmp", 300,300, 96);
End Sub Save;
After executing the example the chart image is saved to the selected file with the specified parameters.
See also: