TCustomdxComponentPrinter Class
The base class for the component printer.
Declaration
TCustomdxComponentPrinter = class(
TcxScalableComponent
)
Remarks
The component printer allows you to print content of any control in your application. Create a compatible report link for a control in the component printer to be able to print the control.
Main API Members
The list below outlines key members of the TCustomdxComponentPrinter
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).
- Export a report to PDF (ExportToPDF).
- Specify date and time formats (DateFormat and TimeFormat).
- Customize the Print Preview dialog and its Preview Window (PreviewOptions).
- Configure component printer behavior (Options).
- Copy report links between component printers (AssignReportLinks).
- Save component printer 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 component printer settings from a file or stream (LoadFromFile and LoadFromStream).
Terminal TCustomdxComponentPrinter Class Descendant
Do not use the TCustomdxComponentPrinter
class directly. Use the TdxComponentPrinter component instead.
Inheritance
TObject
TPersistent
TComponent
TcxCustomComponent
TcxComponent
TcxScalableComponent
TCustomdxComponentPrinter
See Also