Gets the Word report layout that is used on a report and returns it as a data stream.
The function has an instance call and a static call. The following code shows the syntax of the WORDLAYOUT function. The first line of code is the syntax for an instance function call. The second line of code is the syntax for a static function call.
[Ok :=] ReportVariable.WORDLAYOUT(InStream)
[Ok :=] REPORT.WORDLAYOUT(Number, InStream)
A variable that specifies the report object.
The ID of the report object for which you want to get the Word report layout.
The variable in which to return the Word report layout.
true if the Word report layout was retrieved successfully; otherwise, false.
Using the return value is optional. When you use the return value, if the Word report layout cannot be retrieved at run-time, then the system returns false and no error recorded. When you omit the return value, if the Word report layout cannot be retrieved at run-time, then an error occurs, which states that the Word report could not be retrieved.