[]
Saves the current report definition to a file.
public void Save(string fileName)
Type | Name | Description |
---|---|---|
string | fileName | Full name of the file to be created (if the file already exists, it will be overwritten). |
This method does not embed pictures and subreports into the output file. It only saves subreport names and saves images in external files.
Saves the current report definition to a file.
public void Save(string fileName, bool embedAll, FontEmbedType embedFonts = FontEmbedType.None)
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. |
FontEmbedType | embedFonts | Whether and how to embed fonts into the output file. |
Saves the current report definition to a file.
public void Save(string fileName, bool embedImages, bool embedSubReports, bool saveAll = false, FontEmbedType embedFonts = FontEmbedType.None)
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. |
bool | saveAll | Save all reports. |
FontEmbedType | embedFonts | Whether and how to embed fonts into the output file. |
Saves the current report definition to a stream.
public void Save(Stream stream, bool embedImages, bool embedSubReports, bool saveAll = false, FontEmbedType embedFonts = FontEmbedType.None)
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. |
bool | saveAll | Save all reports. |
FontEmbedType | embedFonts | Indicates how to embed fonts into the output stream. |
Saves the current report definition to an XmlWriter object.
public void Save(XmlWriter writer)
Type | Name | Description |
---|---|---|
XmlWriter | writer | An XmlWriter object where the report definition will be saved. |
This method does not embed pictures and subreports into the output file.
Saves the current report definition to an XmlWriter object.
public void Save(XmlWriter writer, bool embed, FontEmbedType embedFonts = FontEmbedType.None)
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. |
FontEmbedType | embedFonts | Indicates how to embed fonts into the output stream. |
Saves the current report definition to an XmlWriter object.
public void Save(XmlWriter writer, bool embedImages, bool embedSubReports, FontEmbedType embedFonts = FontEmbedType.None)
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. |
FontEmbedType | embedFonts | Whether and how to embed fonts into the output stream. |