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

In This Topic
    Collect Property (TocStyleLevel)
    In This Topic
    Gets 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.

    Syntax
    'Declaration
     
    Public Property Collect As System.Boolean
    public System.bool Collect {get; set;}
    See Also