The DocumentViewer class represents an extension object implementing the TX Text Control DocumentViewer functionality. To create an instance of this class and render a document viewer in an ASP.NET MVC application the ControlsFactory class is used. (See also ControlsFactory.DocumentViewer method)

Syntax

public class DocumentViewer : ControlBase
Public Class DocumentViewer
  Inherits ControlBase

Introduced: X14.

Constructors

Constructor Description
DocumentViewer Initializes a new instance of the DocumentViewer class.

Methods

Method Description
Render Renders the extension's HTML code into the page output.
(Inherited from ControlBase)

Further Reading

Learn more about the TXTextControl.Web.MVC.DocumentViewer.DocumentViewer Class in the Text Control Blog: