Report.RDLCLayout(var InStream) Method
Version: Available or changed with runtime version 1.0 until version 14.0 where it was deprecated for the following reason: "Replace with layout selection and 'Report Layout List' lookup. See https://go.microsoft.com/fwlink/?linkid=2284102&clcid=0x409 for more information."
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.