DocumentViewer Method
- Namespace
TXTextControl.Web. MVC. DocumentViewer
- Package
TXTextControl.asWeb. DocumentViewer TXTextControl.from nuget.org, the private NuGet feed or Text Control Offline PackagesWeb. MVC. DocumentViewer. dll
- Also in
TXTextControl.asWeb. DocumentViewer. Classic TXTextControl.Web. MVC. DocumentViewer. dll
Syntax
DocumentViewer()
Creates a DocumentViewer.
public DocumentViewer DocumentViewer();Public Function DocumentViewer() As DocumentViewerDocumentViewer(Action<DocumentViewerSettings>)
Creates a DocumentViewer.
public DocumentViewer DocumentViewer(Action<DocumentViewerSettings> method);Public Function DocumentViewer(method As Action(Of DocumentViewerSettings)) As DocumentViewer| Parameter | Description |
|---|---|
| method | System.Action<TXTextControl.Web.MVC.DocumentViewer.DocumentViewerSettings> |
DocumentViewer(DocumentViewerSettings)
Creates a DocumentViewer.
public DocumentViewer DocumentViewer(DocumentViewerSettings settings);Public Function DocumentViewer(settings As DocumentViewerSettings) As DocumentViewer| Parameter | Description |
|---|---|
| settings | TXTextControl.Web.MVC.DocumentViewer.DocumentViewerSettings |
Examples
The following example uses ControlsFactory.DocumentViewer in a document-processing workflow.
var result = controlsFactory.DocumentViewer();
Console.WriteLine(result);Dim result = controlsFactory.DocumentViewer()
Console.WriteLine(result)