TX Text Control .NET Server

IsSelectionActivated Property

Property
Namespace
TXTextControl.Web.MVC.DocumentViewer
Package
TXTextControl.Web.DocumentViewer as TXTextControl.Web.MVC.DocumentViewer.dll from nuget.org, the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.Web.DocumentViewer.Classic as TXTextControl.Web.MVC.DocumentViewer.dll

Description

Specifies whether the selection feature is active or not.

Syntax

public bool IsSelectionActivated { get; set; }

Examples

The following example configures DocumentViewerSettings.IsSelectionActivated and checks the resulting web document component setting before it is used.

documentViewerSettings.IsSelectionActivated = true;
if (documentViewerSettings.IsSelectionActivated)
{
    Console.WriteLine("Is Selection Activated is enabled for Document Viewer Settings.");
}