Back to Devexpress

TdxCustomGanttControl.SaveToFile(string) Method

vcl-dxganttcontrol-dot-tdxcustomganttcontrol-dot-savetofile-x28-system-dot-string-x29.md

latest1.3 KB
Original Source

TdxCustomGanttControl.SaveToFile(string) Method

Saves a Gantt chart to the specified file.

Declaration

delphi
procedure SaveToFile(const AFileName: string);

Parameters

NameType
AFileNamestring

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

LoadFromStream

ExportToImage

SaveToStream

TdxCustomGanttControl Class

TdxCustomGanttControl Members

dxGanttControl Unit