Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomGanttControl.SaveToFile(string) Method

Saves a Gantt chart to the specified file.

#Declaration

Delphi
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