Class DocumentViewer
Provides a central document viewer, for showing different formats
Inheritance
System.Object
    DocumentViewer
  Implements
Namespace: Simplic.Framework.DBUI
Assembly: Simplic.Framework.DBUI.dll
Syntax
public class DocumentViewer : UserControl, IDocumentViewer
  Constructors
| Improve this Doc View SourceDocumentViewer()
Initialize viewer component
Declaration
public DocumentViewer()
  Methods
| Improve this Doc View SourceClear()
Clears the current viewer controls, will display the default content (empty)
Declaration
public void Clear()
  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 | 
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 |