[]
        
(Showing Draft Content)

C1.Win.FlexReport.C1FlexReport.Save

Save Method

Save(string)

Saves the current report definition to a file.

Declaration
public void Save(string fileName)
Parameters
Type Name Description
string fileName

Full name of the file to be created (if the file already exists, it will be overwritten).

Remarks

This method does not embed pictures and subreports into the output file. It only saves subreport names and saves images in external files.

Save(string, bool)

Saves the current report definition to a file.

Declaration
public void Save(string fileName, bool embedAll)
Parameters
Type Name Description
string fileName

Full name of the file to be created (if the file already exists, it will be overwritten).

bool embedAll

Whether to embed images and subreports into the output file.

Save(string, bool, bool)

Saves the current report definition to a file.

Declaration
public void Save(string fileName, bool embedImages, bool embedSubReports)
Parameters
Type Name Description
string fileName

Full name of the file to be created (if the file already exists, it will be overwritten).

bool embedImages

Whether to embed images into the output file.

bool embedSubReports

Whether to embed subreports into the output file.

Save(Stream, bool, bool)

Saves the current report definition to a stream.

Declaration
public void Save(Stream stream, bool embedImages, bool embedSubReports)
Parameters
Type Name Description
Stream stream

The stream to save to.

bool embedImages

Indicates whether to embed images into the output stream.

bool embedSubReports

Indicates whether to embed subreports into the output stream.

Save(XmlWriter)

Saves the current report definition to an XmlWriter object.

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

An XmlWriter object where the report definition will be saved.

Remarks

This method does not embed pictures and subreports into the output file.

Save(XmlWriter, bool)

Saves the current report definition to an XmlWriter object.

Declaration
public void Save(XmlWriter writer, bool embed)
Parameters
Type Name Description
XmlWriter writer

An XmlWriter object where the report definition will be saved.

bool embed

Whether to embed images and subreports into the output stream.

Save(XmlWriter, bool, bool)

Saves the current report definition to an XmlWriter object.

Declaration
public void Save(XmlWriter writer, bool embedImages, bool embedSubReports)
Parameters
Type Name Description
XmlWriter writer

An XmlWriter object where the report definition will be saved.

bool embedImages

Whether to embed images into the output stream.

bool embedSubReports

Whether to embed subreports into the output stream.