TdxPrintingRepository Class
The global repository of report links used in an application.
Declaration
TdxPrintingRepository = class(
TObject
)
Remarks
The global report link repository is designed to track report link states and perform specific actions (via the interface), such as displaying print-related dialogs for a DevExpress VCL control associated with a report link in an application. Normally, the report link repository is used internally by all print-related actions and report link classes, providing unified access to all report links used in an application.
The TdxPrintingRepository class implements methods that can be used to:
Add/remove report links to/from the repository (Register and Unregister);
Identify if a print report can be built for a specific control within the application (CanBuildReport);
Invoke the Print, Print Preview, or Page Setup dialog for the specified control within the application (PrintReport, PreviewReport, and PageSetupReport).
A TdxPrintingRepository object is referenced by the dxPrintingRepository global function.