Skip to main content

TdxCustomPrintingAction Class

The base class for all classes that implement print-related commands provided by DevExpress VCL controls.

Declaration

TdxCustomPrintingAction = class(
    TdxCustomAction
)

Remarks

This class implements the basic functionality required by all print-related action classes that implement commands displaying various Print, Print Preview, Page Setup dialogs, etc. In addition to the capability to work with report links, the TdxCustomPrintingAction class implements the basic printing action availability check. As a result, print commands provided by DevExpress controls are available to end-users only if the following conditions are met:

  • The TdxComponentPrinter component is present in your application;

  • A valid report link of the corresponding DevExpress VCL control is created.

Note that particular TdxCustomPrintingAction class descendants may impose additional command availability limitations. For the full list of availability conditions for a print-related command provided by any DevExpress VCL control, refer to the corresponding class description.

You can use the ExecuteTarget and HandlesTarget methods provided by the TdxCustomPrintingAction class to execute a command for the specified control and identify if the command execution result is applied to a particular control.

You do not need to create instances of this class. Use its descendants instead.

See Also