Class FileSystemDocumentContainer
Document container based on windows filesystem
Inheritance
System.Object
FileSystemDocumentContainer
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 class FileSystemDocumentContainer : IDocumentContainer, IAsyncLoadableContainer
Constructors
| Improve this Doc View SourceFileSystemDocumentContainer(String)
Constructor
Declaration
public FileSystemDocumentContainer(string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | filename to load |
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 |
Methods
| Improve this Doc View SourceLoad()
forces the container to load its content
Declaration
public void Load()
Explicit Interface Implementations
| Improve this Doc View SourceIAsyncLoadableContainer.Load(Action<AsyncLoadFinishedEventArgs>)
forces the container to load its content async, calling a callback method afterwards
Declaration
void IAsyncLoadableContainer.Load(Action<AsyncLoadFinishedEventArgs> callback)
Parameters
Type | Name | Description |
---|---|---|
System.Action<AsyncLoadFinishedEventArgs> | callback | callback method called after loading the content |