TCustomdxComponentPrinter Class
The base class for the component printer.
Declaration
TCustomdxComponentPrinter = class(
TcxScalableComponent
)
Remarks
A component printer allows you to print content of any control in your application. Create a compatible report link for a target control in the component printer to be able to print the control.
The TCustomdxComponentPrinter class has the following members that allow you to:
Select the active report link (CurrentLink and CurrentLinkIndex).
Access all created report links (ReportLink).
Add new report links (AddLink, AddLinkEx, AddEmptyLink, and AddEmptyLinkEx).
Delete existing links (DeleteLink and DeleteAllLinks).
Export a report to PDF (ExportToPDF).
Specify the date and time formats (DateFormat and TimeFormat).
Customize the Print Preview dialog and its Preview Window (PreviewOptions).
Customize the component printer’s behavior (Options).
Copy report links between component printers (AssignReportLinks).
Save the component printer’s settings to a file or stream (SaveToFile and SaveToStream).
Invoke the “Page Setup” dialog (PageSetup and PageSetupEx).
Print a report (Print, PrintEx, PrintPages, and PrintPagesEx).
Load the component printer’s settings from a file or stream (LoadFromFile and LoadFromStream).
Do not use the TCustomdxComponentPrinter class directly. Use its descendant instead.