FlexReport for .NET | ComponentOne
C1.Win.FlexReport.8 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.

In This Topic
    Load(XDocument,String,Boolean) Method
    In This Topic
    Loads a report from an System.Xml.Linq.XDocument.
    Syntax
    'Declaration
     
    Public Overloads Sub Load( _
       ByVal doc As XDocument, _
       ByVal reportName As String, _
       ByRef converted As Boolean _
    ) 
    public void Load( 
       XDocument doc,
       string reportName,
       out 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