Skip to main content
A newer version of this page is available. .

XtraReport.LoadLayoutFromXml(Stream, Boolean) Method

Loads a report from a Stream that contains a serialized report in XML format.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v21.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

public void LoadLayoutFromXml(
    Stream stream,
    bool throwOnError = false
)

Parameters

Name Type Description
stream Stream

A Stream object that contains the report serialization data.

Optional Parameters

Name Type Default Description
throwOnError Boolean False

True to throw an exception if an error occurs; otherwise, false.

Remarks

TheLoadLayoutFromXml method allows you to deserialize a report from the XML serialization data created with the following methods:

Review the following topics for more information:

See Also