Class ReportDocumentContainer
DocumentContainer class for IReport instances, supporting basic loading and rendering methods
Inheritance
System.Object
ReportDocumentContainer
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 SourceReportDocumentContainer(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 SourceDocumentData
the loaded document data
Declaration
public byte[] DocumentData { get; protected set; }
Property Value
Type | Description |
---|---|
System.Byte[] |
Extension
documentData's file extension
Declaration
public string Extension { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
IsLoaded
flag indicating the loaded state of the document (data)
Declaration
public bool IsLoaded { get; protected set; }
Property Value
Type | Description |
---|---|
System.Boolean |
PageCount
page count of DocumentData
Declaration
public int PageCount { get; protected set; }
Property Value
Type | Description |
---|---|
System.Int32 |
RenderFormat
gets or sets the renderformat of the document
Declaration
public ReportRenderFormat RenderFormat { get; set; }
Property Value
Type | Description |
---|---|
ReportRenderFormat |
ReportName
the name of the report
Declaration
public string ReportName { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceDispose()
Declaration
public void Dispose()
Load()
forces the container to load its content
Declaration
public void Load()
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 SourceIAsyncLoadableContainer.Load(Action<AsyncLoadFinishedEventArgs>)
Declaration
void IAsyncLoadableContainer.Load(Action<AsyncLoadFinishedEventArgs> callback)
Parameters
Type | Name | Description |
---|---|---|
System.Action<AsyncLoadFinishedEventArgs> | callback |
Implements
System.IDisposable