Skip to main content

TBasedxReportLink.SaveDataToFile(string) Method

Saves the built report to the specified file.

Declaration

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