Javascript: DocumentPermissions.allowFormatting Property
Description
Gets or sets a value specifying whether the document can be formatted.
Syntax
<boolean> DocumentPermissions.allowFormattingExamples
The following example demonstrates DocumentPermissions.allowFormatting in a practical document-editing workflow. It gets or sets a value specifying whether the document can be formatted.
const allowFormatting = TXTextControl.documentPermissions.allowFormatting;
console.log("allow formatting:", allowFormatting);