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

C1.Win.FlexReport.4 Assembly > C1.Win.FlexReport Namespace > C1FlexReport Class > Load Method : Load(XDocument,String,Boolean) Method
The System.Xml.Linq.XDocument 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.Linq.XDocument.
Syntax
'Declaration
 
Public Overloads Sub Load( _
   ByVal doc As System.Xml.Linq.XDocument, _
   ByVal reportName As System.String, _
   ByRef converted As System.Boolean _
) 
public void Load( 
   System.Xml.Linq.XDocument doc,
   System.string reportName,
   out System.bool converted
)

Parameters

doc
The System.Xml.Linq.XDocument 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
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.
See Also

Reference

C1FlexReport Class
C1FlexReport Members
Overload List