TX Text Control .NET Server

TextControlController Class

Class
Namespace
TXTextControl.Web.MVC.DocumentViewer
Package
TXTextControl.Web.DocumentViewer from nuget.org, the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Web.MVC.DocumentViewer.dll
Install
dotnet add package TXTextControl.Web.DocumentViewer
Also in
TXTextControl.Web.DocumentViewer.Classic as TXTextControl.Web.MVC.DocumentViewer.dll
Inherits
  1. Controller
  2. TextControlController

Description

Controller that provides all async HTTP methods called by the DocumentViewer Javascript.

Syntax

public class TextControlController : Controller

Members

Constructors

ConstructorDescription
TextControlControllerCreates a controller using the configured document-processing mode.

Methods

MethodDescription
DisposeReleases a gateway created by the controller fallback.
DownloadDownloads the document in format of the stream type.
FindNot described in the reference. public ActionResult Find();
FontNot described in the reference. public FileStreamResult Font(string id);
GetCharsCreates and returns a List of Char models that contains the text and the position of each character.
GetDocumentViewerAssetReturns an embedded, version-matched Document Viewer asset.
GetHtmlNot described in the reference. public ActionResult GetHtml(string access_token, string version);
GetPagesCreates and returns a List of PageImage models that contains an image
GetResourceReturns the current global viewer bundle for the legacy resource URL.
LoadDocumentGets the data from the document for loading this document in the viewer.
OnExceptionAsyncMaps fallback processing failures when viewer services were not registered.
SignDocumentProcesses the signatures of a document
UrlEncodeNot described in the reference. public string UrlEncode(IDictionary<string, string> dict);
ValidateValueByRegularExpressionNot described in the reference. public ActionResult ValidateValueByRegularExpression();