[]
Load report.
public void Load(string reportName)
Type | Name | Description |
---|---|---|
string | reportName |
Type | Condition |
---|---|
Exception |
Loads a report from an XML report definition in stream.
public void Load(Stream stream, string reportName, out bool converted)
Type | Name | Description |
---|---|---|
Stream | stream | Stream containing XML report definition. |
string | reportName | Name of the report to retrieve from the file (case-insensitive). |
bool | converted | OUT: Contains true if report definition was imported from old C1Report format. |
You can get a list of reports available in the file using the GetReportList(Stream) method.
Loads a report from an XML report definition in stream.
public void Load(Stream stream, string reportName)
Type | Name | Description |
---|---|---|
Stream | stream | Stream containing XML report definition. |
string | reportName | Name of the report to retrieve from the file (case-insensitive). |
You can get a list of reports available in the file using the GetReportList(Stream) method.
Loads a report from an XML report definition file.
public void Load(string fileName, string reportName, out bool converted)
Type | Name | Description |
---|---|---|
string | fileName | Full name of the XML report definition file. |
string | reportName | Name of the report to retrieve from the file (case-insensitive). |
bool | converted | OUT: Contains true if report definition was imported from old C1Report format. |
You can get a list of reports available in the file using the GetReportList(string) method.
Loads a report from an XML report definition file.
public void Load(string fileName, string reportName)
Type | Name | Description |
---|---|---|
string | fileName | Full name of the XML report definition file. |
string | reportName | Name of the report to retrieve from the file (case-insensitive). |
You can get a list of reports available in the file using the GetReportList(string) method.
Loads a report from an XmlDocument.
public void Load(XmlDocument doc, string reportName, out bool converted)
Type | Name | Description |
---|---|---|
XmlDocument | doc | The XmlDocument containing the reports. |
string | reportName | The name of the report to load (case-insensitive), can be null in this case first report will be loaded. |
bool | converted | OUT: flag that is set to true if the loaded report definition was converted from the legacy C1Report format. |
You can get a list of reports available in a file using the GetReportList(XmlDocument) method.
Loads a report from an XmlDocument.
public void Load(XmlDocument doc, string reportName)
Type | Name | Description |
---|---|---|
XmlDocument | doc | Reference to the XmlDocument that contains the reports. |
string | reportName | Name of the report to retrieve from the file (case-insensitive). |
You can get a list of reports available in the file using the GetReportList(XmlDocument) method.
Loads a report from an XDocument.
public void Load(XDocument doc, string reportName, out bool converted)
Type | Name | Description |
---|---|---|
XDocument | doc | The XDocument containing the reports. |
string | reportName | The name of the report to load (case-insensitive), can be null in this case first report will be loaded. |
bool | converted | OUT: flag that is set to true if the loaded report definition was converted from the legacy C1Report format. |
This method updates BasePath property to the directory
from which the doc
was loaded.
You can get a list of reports available in a file using the GetReportList(XDocument) method.
Loads a report from an XDocument.
public void Load(XDocument doc, string reportName)
Type | Name | Description |
---|---|---|
XDocument | doc | Reference to the XmlDocument that contains the reports. |
string | reportName | Name of the report to retrieve from the file (case-insensitive). |
You can get a list of reports available in the file using the GetReportList(XDocument) method.