DocumentPermissions Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
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; }Public Property DocumentPermissions As DocumentPermissionsExamples
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.");
}textControl.DocumentPermissions = New DocumentPermissions()
If textControl.DocumentPermissions IsNot Nothing Then
Console.WriteLine("Text Control: Document Permissions is available.")
End If