TX Text Control .NET Server

PDFJSSettings 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

Description

Settings for Mozilla's PDF.JS.

Syntax

public class PDFJSSettings

Examples

The following example creates a PDFJSSettings object and prepares it for a document workflow.

TXTextControl.Web.MVC.DocumentViewer.PDFJSSettings pDFJSSettings = new();
pDFJSSettings.WorkerSourcePath = @"App_Data\document.docx";

Members

Constructors

ConstructorDescription
PDFJSSettingsInitializes a new instance of the PDFJSSettings class.

Properties

PropertyDescription
BasePathSpecifies base path for including the sources.
LibrarySourcePathSpecifies the libraray source path.
WorkerSourcePathSpecifies the worker source path.