Gets or sets a value specifying whether formatting styles can be used to format the document. The default setting of this property is true.

Syntax

public bool AllowFormattingStyles { get; set; }
Public Property AllowFormattingStyles() As Boolean

Examples

The following example shows the TXTextControl.DocumentPermissions.AllowFormatting property. Here, it is set to true so that the formatting styles can be used.

textControl1.EditMode = TXTextControl.EditMode.ReadAndSelect;
TXTextControl.DocumentPermissions document = new TXTextControl.DocumentPermissions();
document.AllowFormatting = true;
document.AllowFormattingStyles = true;
TextControl1.EditMode = TXTextControl.EditMode.ReadAndSelect
Dim document As TXTextControl.DocumentPermissions = New TXTextControl.DocumentPermissions()
document.AllowFormatting = True
document.AllowFormattingStyles = True