FlexReport for .NET | ComponentOne
C1.FlexReport Assembly / C1.Report Namespace / FlexReport Class / Load Method / Load(XmlDocument,String,Boolean,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.
Load all reports from System.Xml.XmlDocument or just specified.

In This Topic
    Load(XmlDocument,String,Boolean,Boolean) Method
    In This Topic
    Loads a report from an System.Xml.XmlDocument.
    Syntax
    'Declaration
     
    Public Overloads Sub Load( _
       ByVal doc As XmlDocument, _
       ByVal reportName As String, _
       ByRef converted As Boolean, _
       ByVal loadAllReports As Boolean _
    ) 
    public void Load( 
       XmlDocument doc,
       string reportName,
       out bool converted,
       bool loadAllReports
    )

    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.
    loadAllReports
    Load all reports from System.Xml.XmlDocument or just specified.
    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