Report.RDLCLayout(var InStream) Method

Version: Available or changed with runtime version 1.0.

Gets the RDLC layout that is used on a report and returns it as a data stream.

Syntax

[Ok := ]  Report.RDLCLayout(var InStream: InStream)

Parameters

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

InStream
 Type: InStream
The variable in which to return the RDLC layout.

Return Value

[Optional] Ok
 Type: Boolean
true if the operation was successful; otherwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.

Remarks

Using the return value is optional. When you use the return value, if the RDLC layout cannot be retrieved at run-time, then the system returns false and no error recorded. When you omit the return value, if the RDLC layout cannot be retrieved at run-time, then an error occurs, which states that the layout could not be retrieved.

See Also

Report Data Type
Get Started with AL
Developing Extensions