Skip to content

Latest commit

 

History

History
57 lines (43 loc) · 1.46 KB

devenv-wordlayout-property.md

File metadata and controls

57 lines (43 loc) · 1.46 KB
title description ms.author ms.date ms.topic author ms.reviewer
WordLayout Property
Sets the Word layout that is used on a report and returns it as a data stream.
solsen
05/14/2024
reference
SusanneWindfeldPedersen
solsen

WordLayout Property

Version: Available or changed with runtime version 1.0.

Sets the Word layout that is used on a report and returns it as a data stream.

Applies to

  • Report
  • Report Extension

[!INCLUDEpossible_layouts_note]

Remarks

The Word file must be in the same folder as the AL object.

[!INCLUDEsingle_layouts]

Example

The following example shows how to use this property to generate the MyWordReport.docx file.

pageextension 50100 MyExtension extends "Customer List"
{
    trigger OnOpenPage();
    begin
        report.Run(Report::MyWordReport);
    end;
}

report 50124 MyWordReport
{
    DefaultLayout = Word;
    WordLayout = 'MyWordReport.docx';
}

See also

Creating a Word Layout Report
RDLCLayout Property
Creating an RDL Layout Report