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

TBasedxReportLink.SaveDataToFile(string) Method

Saves the built report to the specified file.

#Declaration

Delphi
procedure SaveDataToFile(const AName: string); virtual;

#Parameters

Name Type
AName string

#Remarks

Call this procedure to save the Print Preview dialog’s content to a file whose full path is passed as the AName parameter. The SaveDataToFile procedure is declared as virtual in order to allow various report links (i.e., the TBasedxReportLink class descendants) to implement report data saving algorithms specific to particular DevExpress products.

Internally, SaveDataToFile calls the SaveDataToStream procedure to save the built report to a file stream.

See Also