Search Results for

    Show / Hide Table of Contents

    Class ReportWriter

    Class used to write a report template to a file (or stream) in xml format

    Inheritance
    object
    ReportWriter
    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 ReportWriter

    Constructors

    ReportWriter(BaseReport)

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

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

    Methods

    SaveToFile(string, StreamVersion)

    Save the report template to a file, in xml report template format

    Declaration
    public void SaveToFile(string afilename, StreamVersion version)
    Parameters
    Type Name Description
    string afilename
    StreamVersion version

    SaveToStream(Stream, StreamVersion)

    Save the report template to a stream, in xml format

    Declaration
    public void SaveToStream(Stream astream, StreamVersion streamVersion = StreamVersion.V2)
    Parameters
    Type Name Description
    Stream astream
    StreamVersion streamVersion

    WriteComponents(List<PrintPosItem>)

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