Specifies whether document content can be copied to the clipboard. The default setting of this property is true.


public bool AllowCopy { get; set; }
Public Property AllowCopy() As Boolean


The following example shows the DocumentPermissions class. Here, its AllowCopy property is to false in order to prevent copying of the documents content to the clipboard.

textControl1.EditMode = TXTextControl.EditMode.ReadAndSelect;
TXTextControl.DocumentPermissions document = new TXTextControl.DocumentPermissions();
document.AllowCopy = false;
TextControl1.EditMode = TXTextControl.EditMode.ReadAndSelect
Dim document As TXTextControl.DocumentPermissions = New TXTextControl.DocumentPermissions()
document.AllowCopy = False