TX Text Control .NET for WPF

DocumentPermissions Property

Property|Introduced in 25.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.WPF.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets a DocumentPermissions object which provides properties determining how a document can be edited and formatted when the EditMode property is set to EditMode.ReadAndSelect.

Syntax

public DocumentPermissions DocumentPermissions { get; set; }

Examples

The following example uses TextControl.DocumentPermissions to configure document permissions as part of the text control workflow. The configured value is checked before the workflow continues.

textControl.DocumentPermissions = new DocumentPermissions();
if (textControl.DocumentPermissions != null)
{
    Console.WriteLine("Text Control: Document Permissions is available.");
}