Gets or sets the structure level of a paragraph in the document. The level can be between 0 and 10. A level of 0 indicates that the paragraph belongs to the body of the document.

Introduced: X19.


public int StructureLevel { get; set; }
Public Property StructureLevel() As Integer


The property's default value is 0.

The property returns its default value when the text selection contains multiple paragraphs with mixed structure levels. The Selection.IsCommonValueSelected method can be used to check for mixed attributes.

Further Reading

Learn more about the TXTextControl.ParagraphFormat.StructureLevel Property in the Text Control Blog: