TdxPDFViewerShowPrintForm Class
An action object that corresponds to the ShowPrintForm command provided by the PDF Viewer control.
Declaration
TdxPDFViewerShowPrintForm = class(
TdxCustomShowPrintFormAction
)
Remarks
This class does not introduce any new public members. Executing this action object invokes the Print dialog window:
Executing this action object is equivalent to calling the ShowPrintDialog global procedure.
UI elements linked to a TdxPDFViewerShowPrintForm
action object are enabled only if the following conditions are met:
The PDF Viewer is associated with the TdxComponentPrinter component through the corresponding report link.
A document is loaded to the PDF Viewer (i.e., the control’s IsDocumentLoaded function returns
True
).Printing is not restricted in the loaded PDF document (i.e., the control’s Document.AllowPrinting property returns
True
).