SaveXAMLToFile(FileName: String; Rect: IGxRectF; [Scale: IGxRectF = Null]);
FileName. File path, name and type.
Rect. Chart coordinates and size (mm).
Scale. Chart scale. The default chart scale is 1.0.
The SaveXAMLToFile method loads a chart to a XAML file (*.xaml).
This example assumes that there is the Chart object of the IChart type.
Sub UserProc;
Var
Chart: IChart;
Rect: IGxRectF;
Begin
Rect := Chart.ChartArea.Rectangle;
Chart.SaveXAMLToFile("c:\Temp\Scene.xaml", Rect);
End Sub UserProc;
After executing the example the chart is saved to Scene.xaml.
See also: