편집

다음을 통해 공유


PreviewMode Property

Version: Available or changed with runtime version 1.0.

Specifies how the report opens when you preview it.

Applies to

  • Report

Property value

Value Available or changed with Description
Normal runtime version 1.0 Specifies that the report opens in the default view mode where you can navigate between entries and so on.
PrintLayout runtime version 1.0 Specifies that the report opens in the print layout mode that shows how the report will print on paper.

Syntax

PreviewMode = Normal;

Remarks

In the Report – Properties window, in the PreviewMode field, specify how the report must open in preview mode. The default mode can be different to how the report prints on paper. If you want to make sure that users see the report as it will look on paper, choose PrintLayout.

Regardless of your choice, users can change the display mode in the Print Preview window. For example, if you choose the default mode, users can choose the Print Layout button. However, if the AL code for the report uses the PREVIEW function to disable printing from the preview, then users cannot change the display mode to print layout.

Preview Method (Report)