Search Results for

    Show / Hide Table of Contents

    Class Viewer

    Viewer class, must be inherited by every type of viewer controler

    Inheritance
    System.Object
    Viewer
    DocumentNotSupported
    ExcelViewer
    ImagingViewer
    MsgViewer
    WordViewer
    Namespace: Simplic.Framework.DBUI
    Assembly: Simplic.Framework.DBUI.dll
    Syntax
    public class Viewer : UserControl

    Methods

    | Improve this Doc View Source

    Load(Byte[], String)

    Show a simple blob in the viewer

    Declaration
    public virtual void Load(byte[] blob, string fileType)
    Parameters
    Type Name Description
    System.Byte[] blob

    Blob content as byte array

    System.String fileType

    file type, ending or mime type

    | Improve this Doc View Source

    Load(Byte[], String, Guid)

    Show a simple blob in the viewer

    Declaration
    public virtual void Load(byte[] blob, string fileType, Guid blobId)
    Parameters
    Type Name Description
    System.Byte[] blob

    Blob content as byte array

    System.String fileType

    file type, ending or mime type

    Guid blobId

    Blob id

    | Improve this Doc View Source

    UseViewer(String)

    Proof, wether the current viewer support the fiven file type

    Declaration
    public virtual bool UseViewer(string fileType)
    Parameters
    Type Name Description
    System.String fileType

    File tpye as string

    Returns
    Type Description
    System.Boolean

    True, if the viewer supprt the file type

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