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

In This Topic
    TocStyleLevelCollection Class Members
    In This Topic

    The following tables list the members exposed by TocStyleLevelCollection.

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

    The default value is true.

    If both TocTcOptions.Collect and TocSeqOptions.Collect are false, this property returns true.

     
    Public PropertyGets the number of TocStyleLevel in this collection.  
    Public PropertyGets the TocStyleLevel associated with a specified style name.  
    Public PropertyGets the range of paragraph outline levels that should be collected by the TOC field when UseParagraphOutlineLevel is true.  
    Public PropertyGets or sets a value indicating whether to use outline level applied to paragraph instead of styles.

    The default value is false.

    If true, the TOC field collects paragraphs whose outline level corresponds to the OutlineLevels property.

    Paragraphs formatted with custom styles listed in this collection will be collected unless their outline level is GrapeCity.Documents.Word.OutlineLevel.BodyText.

     
    Top
    Public Methods
     NameDescription
    Public Method Adds the specified style to the collection.  
    Public MethodGets a value indicating whether the collection contains a TocStyleLevel associated with a specified style name.  
    Public MethodRemoves a TocStyleLevel from the collection.  
    Public MethodReturns a string that represents the current object.  
    Public MethodTries to get the TocStyleLevel associated with a specified style name.  
    Top
    See Also