TXTextControl.DocumentPermissions Property

Specifies settings determining how the document can be edited and formatted, when the EditMode is changed from Edit to Protected or Password Protected.

Introduced: 25.0.


TXTextControl.DocumentPermissions [= value]
Setting Description
txAllowFormatting (1) Allows formatting text with settings such as font and paragraph attributes.
txAllowFormattingStyles (2) Allows formatting text with formatting styles.
txAllowCopy (4) Allows copying document content to the clipboard.
txAllowPrinting (8) Printing the document is allowed.
txReadOnly (16) The document is read only, editing and formatting text is not allowed.


The values listed above can be added to set more than one option.

Data Types


See Also