Search Results for

    Show / Hide Table of Contents

    Class ReportReader

    Class used to read report template from a file (or stream) saved in xml format

    Inheritance
    object
    ReportReader
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Reportman.Reporting
    Assembly: Reportman.Reporting.dll
    Syntax
    public class ReportReader

    Constructors

    ReportReader(BaseReport)

    Create the report reader instance, you must supply the report where the template will be loaded

    Declaration
    public ReportReader(BaseReport rp)
    Parameters
    Type Name Description
    BaseReport rp

    Methods

    ConvertToDotNet(Report, DriverType, string)

    Converts not dot net report to a dot net report

    Declaration
    public static void ConvertToDotNet(Report rp, DriverType driver, string provider_factory)
    Parameters
    Type Name Description
    Report rp
    DriverType driver
    string provider_factory

    LoadFromFile(string)

    Load a report template from a file with xml report template format

    Declaration
    public void LoadFromFile(string afilename)
    Parameters
    Type Name Description
    string afilename

    LoadFromStream(Stream)

    Load a report template from a stream with xml report template format

    Declaration
    public void LoadFromStream(Stream astream)
    Parameters
    Type Name Description
    Stream astream

    LoadFromStream(Stream, int)

    Load a report template from a stream with xml report template format

    Declaration
    public void LoadFromStream(Stream astream, int bufsize)
    Parameters
    Type Name Description
    Stream astream
    int bufsize

    ReadFromString(string)

    Declaration
    public List<PrintPosItem> ReadFromString(string contents)
    Parameters
    Type Name Description
    string contents
    Returns
    Type Description
    List<PrintPosItem>
    In this article
    Back to top Generated by DocFX