Search Results for

    Show / Hide Table of Contents

    Class DocumentViewer

    Provides a central document viewer, for showing different formats

    Inheritance
    System.Object
    DocumentViewer
    Implements
    IDocumentViewer
    Namespace: Simplic.Framework.DBUI
    Assembly: Simplic.Framework.DBUI.dll
    Syntax
    public class DocumentViewer : UserControl, IDocumentViewer

    Constructors

    | Improve this Doc View Source

    DocumentViewer()

    Initialize viewer component

    Declaration
    public DocumentViewer()

    Methods

    | Improve this Doc View Source

    Clear()

    Clears the current viewer controls, will display the default content (empty)

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

    Show(Byte[], String, Guid, String, Byte[])

    Show a document in the viewer and enable annotations

    Declaration
    public void Show(byte[] blob, string fileType, Guid blobId, string viewername, byte[] originalDocument = null)
    Parameters
    Type Name Description
    System.Byte[] blob
    System.String fileType
    Guid blobId
    System.String viewername
    System.Byte[] originalDocument
    | Improve this Doc View Source

    Show(Byte[], String, Byte[])

    Show a blob in the current viewer instance

    Declaration
    public void Show(byte[] blob, string fileType, byte[] original = null)
    Parameters
    Type Name Description
    System.Byte[] blob

    Blob

    System.String fileType

    File-Type

    System.Byte[] original

    Implements

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