Report.Preview() Method

Version: Available or changed with runtime version 1.0.

Indicates whether a report is being printed in preview mode.

Syntax

IsPreview :=   Report.Preview()

Note

This method can be invoked using property access syntax.

Parameters

Report
 Type: Report
An instance of the Report data type.

Return Value

IsPreview
 Type: Boolean
true if the report is being printed in preview mode, otherwise false.

Remarks

Application triggers are not invoked when the web client PDF viewer runs client actions. They are only invoked during the print action so that you can use the trigger code, for example, to increment the No.Printed value.

See Also

Report Data Type
Get Started with AL
Developing Extensions