TX Text Control .NET Server

DocumentViewerSettings 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

Encapsulates the document viewer settings.

Syntax

public class DocumentViewerSettings

Examples

The following example creates a Document Viewer Settings object and prepares it for a document workflow.

TXTextControl.Web.MVC.DocumentViewer.DocumentViewerSettings documentViewerSettings = new();
documentViewerSettings.FormattingPrinter = "Quarterly report";

Members

Constructors

ConstructorDescription
DocumentViewerSettingsConstructor.

Properties

PropertyDescription
BasePathGets or sets the base path where to search for the TextControl controller.
CustomQueryParamsGets or sets custom query parameters.
DockSpecifies how to dock the DocumentViewer.
DocumentDataGets or sets the document data from where to load the document to view
DocumentLoadSettingsGets or sets settings for loading the document.
DocumentPathGets or sets the document path from where to load the document.
FormattingPrinterGets or sets the formatting printer.
IsSelectionActivatedSpecifies whether the selection feature is active or not.
RenderModeSpecifies the render mode of the component.
ResourceManagerGets or sets the resource manager.
ShowThumbnailPaneSpecifies whether the thumbnail view pane is visible by default.
SignatureSettingsSpecifies the signature settings.
ToolbarDockedSpecifies whether the toolbar is docked or not.
UserNamesGets or sets the available user names.
ViewSpecifies which device specific view is shown.