DocumentViewerSettings Class
- Namespace
TXTextControl.Web. MVC. DocumentViewer
- Package
TXTextControl.from nuget.org, the private NuGet feed or Text Control Offline PackagesWeb. DocumentViewer
- Assembly
TXTextControl.Web. MVC. DocumentViewer. dll
- Install
dotnet add package TXTextControl.Web. DocumentViewer
- Also in
TXTextControl.asWeb. DocumentViewer. Classic TXTextControl.Web. MVC. DocumentViewer. dll
Description
Encapsulates the document viewer settings.
Syntax
public class DocumentViewerSettingsPublic Class DocumentViewerSettingsExamples
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";Dim documentViewerSettings As New TXTextControl.Web.MVC.DocumentViewer.DocumentViewerSettings()
documentViewerSettings.FormattingPrinter = "Quarterly report"Members
Constructors
| Constructor | Description |
|---|---|
| DocumentViewerSettings | Constructor. |
Properties
| Property | Description |
|---|---|
| BasePath | Gets or sets the base path where to search for the TextControl controller. |
| CustomQueryParams | Gets or sets custom query parameters. |
| Dock | Specifies how to dock the DocumentViewer. |
| DocumentData | Gets or sets the document data from where to load the document to view |
| DocumentLoadSettings | Gets or sets settings for loading the document. |
| DocumentPath | Gets or sets the document path from where to load the document. |
| FormattingPrinter | Gets or sets the formatting printer. |
| IsSelectionActivated | Specifies whether the selection feature is active or not. |
| RenderMode | Specifies the render mode of the component. |
| ResourceManager | Gets or sets the resource manager. |
| ShowThumbnailPane | Specifies whether the thumbnail view pane is visible by default. |
| SignatureSettings | Specifies the signature settings. |
| ToolbarDocked | Specifies whether the toolbar is docked or not. |
| UserNames | Gets or sets the available user names. |
| View | Specifies which device specific view is shown. |