FlexReport for WinForms | ComponentOne
C1.Win.FlexReport.4.8 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.

In This Topic
    Load(XmlDocument,String,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 _
    ) 
    public void Load( 
       XmlDocument doc,
       string reportName,
       out 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