IChart.SaveXAMLToFile

Syntax

SaveXAMLToFile(FileName: String; Rect: IGxRectF; [Scale: IGxRectF = Null]);

Parameters

FileName. File path, name and type.

Rect. Chart coordinates and size (mm).

Scale. Chart scale. The default chart scale is 1.0.

Description

The SaveXAMLToFile method loads a chart to a XAML file (*.xaml).

Example

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:

IChart