Skip to main content

VCL ExpressPrinting System (Print & Export UI Controls)

  • 4 minutes to read

The VCL ExpressPrinting System allows you to print out or export content of a DevExpress control or TWinControl descendant.

Tip

The core print-related APIs are designed for simple document generation scenarios and print/content export operations available for the majority of DevExpress VCL Controls (shipped as part of ExpressQuantum Pack, VCL Subscription, and VCL Subscription+).

For most advanced report generation and BI/data analytics usage scenarios, we recommend that you use our ExpressReports and ExpressDashboards Suites (available as part of the VCL Subscription +). These advanced solutions include both the powerful report generator and customizable print preview, BI dashboard designer and viewer for data analytics (available both at design- and runtime), smart/AI functions, non-GUI/service-based document generation, and much more.

VCL Printing System: A PDF Viewer Print Preview Dialog

TdxComponentPrinter

The main component required to print any control or export its content. Double-click the component to open the Print Links editor and add print links for every control you need to print.

VCL Printing System: Print Links Editor Dialog

The component printer with a print link allows you to open the Print Preview dialog to do the following in your application:

  • Preview content before it is printed.
  • Customize page and print-related settings.
  • Add information to page headers and footers.
  • Change document background color.
  • Browse previously saved print layout.
  • Customize printed content and appearance for VCL Grid, Vertical Grid, Tree List, and Pivot Grid controls.
TdxPrintStyleManager
Maintains a print style collection.
TdxPrintDialog

Allows users to customize print-related settings.

VCL Printing System: A "Print Dialog" Example

TdxPageSetupDialog

A page setup dialog.

VCL Printing System: A "Page Setup" Dialog Example

TdxPSEngineController
Manages global print-related settings, such as the skin applied to all built-in dialogs.
TdxPSFileBasedExplorer | TdxPSDBBasedExplorer

These non-visual components add the print explorer functionality to the Print Preview dialog. Link a print explorer component to the TdxComponentPrinter to allow users to load, browse, and print documents stored in a local file system or database.

VCL Printing System: The "Print Preview" Dialog with the Document Explorer

TdxPSPreviewWindow

Allows users to browse print documents generated using print links. For example, you can embed this control into the Ribbon Backstage View.

VCL Printing System: The Backstage View with an Embedded Preview Window

A print link is a non-visual component that allows a control to interact with the TdxComponentPrinter component to build documents based on control content and print them.

Print Link

Product

Components

TdxGridReportLink

ExpressQuantumGrid

TcxGrid

TdxChartControlReportLink

ExpressCharts

TdxChartControl

TcxSchedulerReportLink

ExpressScheduler

TcxScheduler

TcxPivotGridReportLink

ExpressPivotGrid

TcxPivotGrid and TcxDBPivotGrid

TcxTreeListReportLink, TcxDBTreeListReportLink, and TcxVirtualTreeListReportLink

ExpressQuantumTreeList

TcxTreeList, TcxDBTreeList, and TcxVirtualTreeList

TcxVerticalGridReportLink, TcxDBVerticalGridReportLink, TcxVirtualVerticalGridReportLink, and TcxRTTIInspectorReportLink

ExpressVerticalGrid

TcxVerticalGrid, TcxDBVerticalGrid, TcxVirtualVerticalGrid, and TcxRTTIInspector

TdxLayoutControlReportLink

ExpressLayout Control

TdxLayoutControl

TdxSpreadSheetDocumentBasedReportLink and TdxSpreadSheetReportLnk

ExpressSpreadSheet

TdxSpreadSheet and TdxSpreadSheetReportDesigner

TdxRichEditControlReportLink

ExpressRichEditControl

TdxRichEditControl

TdxPDFViewerReportLink

ExpressPDFViewer

TdxPDFViewer

TdxOrgChartReportLink and TdxDBOrgChartReportLink

ExpressOrgChart

TdxOrgChart and TdxDBOrgChart

TdxFlowChartReportLink

ExpressFlowChart

TdxFlowChart

TcxMemoReportLink, TcxDBMemoReportLink, TcxCheckListBoxReportLink, TcxDBCheckListBoxReportLink, TcxImageReportLink, TcxDBImageReportLink, TcxListBoxReportLink, TcxDBListBoxReportLink, TcxRichEditReportLink, TcxDBRichEditReportLink, TcxShellListViewReportLink, and TcxShellTreeViewReportLink

ExpressEditors Library

TcxMemo, TcxDBMemo, TcxCheckListBox, TcxDBCheckListBox, TcxImage, TcxDBImage, TcxListBox, TcxDBListBox, TcxRichEdit, TcxDBRichEdit, TcxShellListView, and TcxShellTreeView

TdxCustomContainerReportLink

ExpressPageControl

TcxPageControl, TcxTabControl, and TcxTabSheet

The ExpressPrinting System ships with a number of dedicated print links for frequently-used standard and third-party VCL controls.

Print Link Components
TdxCustomContainerReportLink TPanel, TScrollBox, TTabControl, TTabSheet, TPageControl, TTabPage, TTabbedNotebook, TPage, TNotebook, TCustomForm, and TCustomFrame
TdxStringGridReportLink TStringGrid
TdxDrawGridReportLink TDrawGrid
TdxTeeChartReportLink and TdxDBTeeChartReportLink TeeChart
TdxListViewReportLink TListView
TdxTreeViewReportLink TTreeView
TdxShellListViewReportLink TShellListView
TdxShellTreeViewReportLink TShellTreeView
TdxRichEditReportLink and TdxDBRichEditReportLink TRichEdit and TDBRichEdit
TrxRichEditReportLink TrxRichEdit
TdxListBoxReportLink and TdxDBListBoxReportLink TListBox and TDBListBox
TdxCheckListBoxReportLink TCheckListBox
TdxMemoReportLink and TdxDBMemoReportLink TMemo and TDBMemo
TdxImageReportLink and TdxDBImageReportLink TImage and TDBImage
TdxPictureReportLink TPicture

TeeChart Support Limitations and Considerations

The DevExpress component installer automatically compiles required packages for the standard TeeChart components installed with the RAD Studio IDE.

Important

If you need to print TeeChart Pro VCL components using the ExpressPrinting System, modify source files as described in the following Support Center ticket and use the Recompile option in the DevExpress VCL components installer:

Manual TeeChart Print-Related Package Compilation

A composite print link allows you to use multiple print links as a single content source for the component printer. For example, you can print the Data Grid‘s Chart View and the Pivot Grid with source data on the same page:

VCL Printing System: A Combined Document Example

See Also