[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Fields.TocStyleLevel.DisplayLevel

DisplayLevel Property

DisplayLevel

Gets or sets the outline level on which to display collected paragraphs in the TOC field result.

The default value is Level1 for custom styles, and the corresponding outline level for built-in heading styles.

Declaration
public OutlineLevel DisplayLevel { get; set; }
Public Property DisplayLevel As OutlineLevel
Exceptions
Type Condition
ArgumentOutOfRangeException

Thrown when trying to assign BodyText.