Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word.Fields Namespace / TocStyleLevel Class / DisplayLevel Property

In This Topic
    DisplayLevel Property (TocStyleLevel)
    In This Topic
    Gets or sets the outline level on which to display collected paragraphs in the TOC field result.

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

    Syntax
    'Declaration
     
    Public Property DisplayLevel As OutlineLevel
    public OutlineLevel DisplayLevel {get; set;}
    Exceptions
    ExceptionDescription
    Thrown when trying to assign GrapeCity.Documents.Word.OutlineLevel.BodyText.
    See Also