TdxComponentPrinter Class
A component printer.
Declaration
TdxComponentPrinter = class(
TCustomdxComponentPrinter
)
Remarks
A component printer allows you to print content of any control in your application. This component manages a list of report links (TBasedxReportLink class descendant instances) that import information from printed components.
Main API Members
The list below outlines key members of the TdxComponentPrinter
class that allow you to manage report links and print content of different controls in your application.
- Add new report links (AddLink, AddLinkEx, AddEmptyLink, and AddEmptyLinkEx).
- Access all created report links (ReportLink).
- Change the active report link (CurrentLink and CurrentLinkIndex).
- Delete existing report links (DeleteLink and DeleteAllLinks).
- Customize component printer behavior settings (Options).
- Export report content to PDF (ExportToPDF).
- Copy report links between component printers (AssignReportLinks).
- Invoke the Page Setup dialog (PageSetup and PageSetupEx).
- Print a report (Print, PrintEx, PrintPages, and PrintPagesEx).
- Customize the Print Preview dialog and its Preview Window (PreviewOptions).
- Specify if the component printer overwrites existing report image files (OverwriteExistingFiles).
- Export reports to bitmaps (EnumPagesAsImages and SavePagesAsImagesToDisk).
- Track export progress (OnExportProgress).
- Invoke the Edit Reports dialog (ShowCustomizeDlg).
- Specify date and time formats (DateFormat and TimeFormat).
- Store format settings in an INI file or the system registry (SaveToIniFile, SaveToRegistry, LoadFromIniFile, and LoadFromRegistry).
- Save component printer settings to a file or stream (SaveToFile and SaveToStream).
- Load component printer settings from a file or stream (LoadFromFile and LoadFromStream).
Inheritance
See Also