Search Results for

    Show / Hide Table of Contents

    Class FileSystemDocumentContainer

    Document container based on windows filesystem

    Inheritance
    System.Object
    FileSystemDocumentContainer
    Implements
    IDocumentContainer
    IAsyncLoadableContainer
    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 Source

    FileSystemDocumentContainer(String)

    Constructor

    Declaration
    public FileSystemDocumentContainer(string fileName)
    Parameters
    Type Name Description
    System.String fileName

    filename to load

    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

    Methods

    | Improve this Doc View Source

    Load()

    forces the container to load its content

    Declaration
    public void Load()

    Explicit Interface Implementations

    | Improve this Doc View Source

    IAsyncLoadableContainer.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

    Implements

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