This NuGet package includes the required files to create an ASP.NET (Core) web application with support for the TX Text Control document viewer. With this component, document viewing, annotation and form filling features can be integrated into web applications. In case this package is installed from NuGet (www.nuget.org) and not from your local “Text Control Offline Packages” package source, the trial version of TX Text Control .NET Server for ASP.NET must be locally installed on your development machine to use this package.
$ dotnet add package TXTextControl.Web.DocumentViewer.ClassicView, sign and annotate documents in your web applications
Add document viewing, sharing and collaboration to your applications. Integrate electronic signatures into your on-prem applications and sign all types of supported documents.
This package requires the following assemblies, which are not included in this NuGet package:
TXDocumentServer.dllTXTextControl.dllTXTextControl.Server.dllTXBarcode.dllTXDrawing.dll// File: Startup.cs
public void Configure(IApplicationBuild app) {
//...
app.UseRouting();
//...
app.UseTXDocumentViewer();
//...
}
Use the HTML Helper for initializing and rendering the Document Viewer.
@Html.TXTextControl().DocumentViewer(settings =>
{
settings.DocumentPath = Server.MapPath("~/App_Data/Documents/nda.tx");
settings.Dock = DocumentViewerSettings.DockStyle.Fill;
settings.IsSelectionActivated = true;
settings.ShowThumbnailPane = true;
}).Render()
Additional supported platforms: