Search Results for

    Show / Hide Table of Contents

    Class ReportDocumentContainer

    DocumentContainer class for IReport instances, supporting basic loading and rendering methods

    Inheritance
    System.Object
    ReportDocumentContainer
    Implements
    IDocumentContainer
    IAsyncLoadableContainer
    System.IDisposable
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.Framework.DBUI
    Assembly: Simplic.Framework.DBUI.dll
    Syntax
    public abstract class ReportDocumentContainer : IDocumentContainer, IAsyncLoadableContainer, IDisposable

    Constructors

    | Improve this Doc View Source

    ReportDocumentContainer(String, ReportRenderFormat)

    Initialize the ReportContainer with a report render format

    Declaration
    public ReportDocumentContainer(string reportName, ReportRenderFormat renderFormat)
    Parameters
    Type Name Description
    System.String reportName
    ReportRenderFormat renderFormat

    Properties

    | Improve this Doc View Source

    DocumentData

    the loaded document data

    Declaration
    public byte[] DocumentData { get; protected set; }
    Property Value
    Type Description
    System.Byte[]
    | Improve this Doc View Source

    Extension

    documentData's file extension

    Declaration
    public string Extension { get; protected set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    IsLoaded

    flag indicating the loaded state of the document (data)

    Declaration
    public bool IsLoaded { get; protected set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    PageCount

    page count of DocumentData

    Declaration
    public int PageCount { get; protected set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    RenderFormat

    gets or sets the renderformat of the document

    Declaration
    public ReportRenderFormat RenderFormat { get; set; }
    Property Value
    Type Description
    ReportRenderFormat
    | Improve this Doc View Source

    ReportName

    the name of the report

    Declaration
    public string ReportName { get; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    Dispose()

    Declaration
    public void Dispose()
    | Improve this Doc View Source

    Load()

    forces the container to load its content

    Declaration
    public void Load()
    | Improve this Doc View Source

    PrepareReport(IReport)

    method used to fill the report parameters, called before rendering the report

    Declaration
    protected abstract void PrepareReport(IReport report)
    Parameters
    Type Name Description
    IReport report

    Explicit Interface Implementations

    | Improve this Doc View Source

    IAsyncLoadableContainer.Load(Action<AsyncLoadFinishedEventArgs>)

    Declaration
    void IAsyncLoadableContainer.Load(Action<AsyncLoadFinishedEventArgs> callback)
    Parameters
    Type Name Description
    System.Action<AsyncLoadFinishedEventArgs> callback

    Implements

    IDocumentContainer
    IAsyncLoadableContainer
    System.IDisposable
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx