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