DockStyle Enumeration
- 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
Enumeration for the Dock property.
Syntax
public enum DocumentViewerSettings.DockStylePublic Enum DocumentViewerSettings.DockStyleMembers
| Member | Value | Description |
|---|---|---|
| Window | 0 | Fills the complete browser Window and is on top of other elements |
| Fill | 1 | Fills the container with width and height equals 100% |
Examples
The following example selects Window and retains that choice for the related document-processing operation.
TXTextControl.Web.MVC.DocumentViewer.DocumentViewerSettings.DockStyle value = TXTextControl.Web.MVC.DocumentViewer.DocumentViewerSettings.DockStyle.Window;
Console.WriteLine($"Using Dock Style: {value}");Dim value As TXTextControl.Web.MVC.DocumentViewer.DocumentViewerSettings.DockStyle = TXTextControl.Web.MVC.DocumentViewer.DocumentViewerSettings.DockStyle.Window
Console.WriteLine($"Using Dock Style: {value}")