TX Text Control .NET Server

DockStyle Enumeration

Enumeration
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

Description

Enumeration for the Dock property.

Syntax

public enum DocumentViewerSettings.DockStyle

Members

MemberValueDescription
Window0Fills the complete browser Window and is on top of other elements
Fill1Fills 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}");