[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.SectionReport.SaveLayout

SaveLayout Method

SaveLayout(XmlWriter)

Saves the report layout to the provided System.Xml.XmlWriter.

Declaration
public void SaveLayout(XmlWriter writer)
Parameters
Type Name Description
XmlWriter writer

The object where the layout will be saved.

Exceptions
Type Condition
ReportException

Thrown if the writer is null.

Exception

Thrown if duplicate names are found in the report structure.

SaveLayout(string)

Saves layout to the file in theArnet format.

Declaration
[Obsolete("This method has been deprecated. Please, use SaveLayout(XmlWriter) method instead")]
public void SaveLayout(string fileName)
Parameters
Type Name Description
string fileName

A string value representing the name of the file in which the layout is to be saved.

SaveLayout(Stream)

Saves the report layout to the specified stream in the Arnet format.

Declaration
[Obsolete("This method has been deprecated. Please, use SaveLayout(XmlWriter) method instead")]
public void SaveLayout(Stream stream)
Parameters
Type Name Description
Stream stream

The stream where the layout will be saved.