28.0.0-beta • Published 4 years ago
@bjoerntx/tx-ng-document-viewer v28.0.0-beta
TX Text Control Document Viewer (Angular version)
This library provides a document viewer compatible with TX Text Control and documents created using the editor and API of TX Text Control.
Prerequisites
The TX Text Control Document Viewer uses a backend that runs TX Text Control .NET Server for ASP.NET. Please use the MVC package for ASP.NET and ASP.NET Core Web Applications.
TXTextControl.Web.DocumentViewer.
Installation
ng add @txtextcontrol/tx-ng-document-viewer
Usage
Your component.html
could look like this, for example (the only mandatory attributes are width
, height
and basePath
):
<tx-document-editor
width = "1000px"
height = "800px"
basePath= "https://www.server.com:5000"
dock = "Window"
toolbarDocked = true
documentPath = "test.docx"
isSelectionActivated = true
showThumbnailPane = true>
</tx-document-editor>
Possible attributes
- width - The width of the component (e. g.
"1000px"
). - height - The height of the component (e. g.
"800px"
). - basePath - The backend URL.
- toolbarDocked - Specifies whether the toolbar is docked or floating.
- documentPath - Specified the displayed document name.
- documentData - Sets the document data encoded as a Base64 string. Supported formats are HTML, RTF, DOC, DOCX, PDF and TX.
- isSelectionActivated - Specifies whether text can be selected and copied.
- signatureSettings - Specifies the signature settings.
- showThumbnailPane - Specifies whether the thumbnail sidebar is visible or not.
- dock - Specified how the control is docked. Possible values are 'Fill' and 'Window'.
- resources - Specifies resources for the displayed strings.
28.0.0-beta6
4 years ago
28.0.0-beta4
4 years ago
28.0.0-beta3
4 years ago
28.0.0-beta2
4 years ago
28.0.0-beta1
4 years ago
28.0.0-beta
4 years ago