ComponentOne FlexReport for WinForms
Load(XmlDocument,String,Boolean) Method

C1.Win.FlexReport.4 Assembly > C1.Win.FlexReport Namespace > C1FlexReport Class > Load Method : Load(XmlDocument,String,Boolean) Method
The System.Xml.XmlDocument containing the reports.
The name of the report to load (case-insensitive), can be null in this case first report will be loaded.
OUT: flag that is set to true if the loaded report definition was converted from the legacy C1Report format.
Loads a report from an System.Xml.XmlDocument.
Syntax
'Declaration
 
Public Overloads Sub Load( _
   ByVal doc As System.Xml.XmlDocument, _
   ByVal reportName As System.String, _
   ByRef converted As System.Boolean _
) 
public void Load( 
   System.Xml.XmlDocument doc,
   System.string reportName,
   out System.bool converted
)

Parameters

doc
The System.Xml.XmlDocument containing the reports.
reportName
The name of the report to load (case-insensitive), can be null in this case first report will be loaded.
converted
OUT: flag that is set to true if the loaded report definition was converted from the legacy C1Report format.
Remarks
You can get a list of reports available in a file using the GetReportList(XmlDocument) method.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(XmlDocument) method.
See Also

Reference

C1FlexReport Class
C1FlexReport Members
Overload List