TX Text Control .NET Server

DocumentViewer 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. ControlBase
  2. DocumentViewer

Description

The main class.

Syntax

public class DocumentViewer : ControlBase

Examples

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

TXTextControl.Web.MVC.DocumentViewer.DocumentViewer documentViewer = new();
Console.WriteLine("Document Viewer is ready for the document workflow.");

Members

Constructors

ConstructorDescription
ControlBaseInitializes a new instance of the ControlBase class. (Inherited from ControlBase.)
DocumentViewerConstructor.

Properties

PropertyDescription
SettingsThe general settings for the document viewer.

Methods

MethodDescription
RenderRenders the control content to an HTML string. (Inherited from ControlBase.)

Further Reading

  • Modules of TX Text Control .NET Server Explained –