Skip to main content

TdxCustomGanttControl.SaveToFile(string) Method

Saves a Gantt chart to the specified file.

Declaration

procedure SaveToFile(const AFileName: string);

Parameters

Name Type
AFileName string

Remarks

Call this procedure to export a the control’s content to a file passed as the AFileName parameter.

You can specify the following file extensions in the file name:

  • XML. Stores all information related to a chart.
  • SVG, BMP, TIFF, PNG, JPEG, EMF, WMF, or GIF. Allow you to display an active View’s content as an image.

To import the chart, call the LoadFromFile procedure.

See Also