Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word.Fields Namespace / TocStyleLevel Class
Properties Methods

In This Topic
    TocStyleLevel Class Members
    In This Topic

    The following tables list the members exposed by TocStyleLevel.

    Public Properties
     NameDescription
    Public PropertyGets or sets a value indicating whether to collect paragraphs formatted with the style.

    The default value is true.

    Note that for "Heading 1" built-in style, if both TocTcOptions.Collect and TocSeqOptions.Collect are false, and all other styles are not marked for collection, then this property returns true regardless of the assigned value.

     
    Public PropertyGets 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.

     
    Public Property Gets a value indicating whether the style is a built-in heading style.  
    Public PropertyGets the built-in style outline level.

    For custom styles the property value returns a null reference (Nothing in Visual Basic).

     
    Public Property Gets style name of paragraphs that should be collected by the TOC field.  
    Top
    Public Methods
     NameDescription
    Public MethodReturns a string that represents the current object.  
    Top
    See Also