The Document
public class DocumentPermissions
Introduced: X15.
The following example shows the Document
textControl1.EditMode = TXTextControl.EditMode.ReadAndSelect;
TXTextControl.DocumentPermissions documentPermissions = new TXTextControl.DocumentPermissions();
documentPermissions.AllowCopy = false;
documentPermissions.AllowFormatting = false;
documentPermissions.AllowFormattingStyles = false;
documentPermissions.AllowPrinting = false;
Property | Description |
---|---|
Allow |
Specifies whether document content can be copied to the clipboard. |
Allow |
Specifies whether form fields can be edited. |
Allow |
Gets or sets a value specifying whether the document can be formatted. |
Allow |
Gets or sets a value specifying whether formatting styles can be used to format the document. |
Allow |
Gets or sets a value specifying whether the document can be printed. |
Read |
Gets or sets a value specifying whether the document is read only. |