TXTextControl.DocumentPermissions Object

The type of the documentPermissions property. The DocumentPermissions object provides settings determining how the document can be edited, when the EditMode is changed from Edit to ReadAndSelect.

Syntax

[JavaScript]
{
    allowCopy: <boolean>,
    allowFormatting: <boolean>,
    allowFormattingStyles: <boolean>,
    allowPrinting: <boolean>,
    readOnly: <boolean>
}

Properties

Property Description
allowCopy Specifies whether document content can be copied to the clipboard.
allowFormatting Gets or sets a value specifying whether the document can be formatted.
allowFormattingStyles Gets or sets a value specifying whether formatting styles can be used to format the document.
allowPrinting Gets or sets a value specifying whether the document can be printed.
readOnly Gets or sets a value specifying whether the document is read only.