[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Fields.TocStyleLevel.Collect

Collect Property

Collect

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 Collect and Collect are false, and all other styles are not marked for collection, then this property returns true regardless of the assigned value.

Declaration
public bool Collect { get; set; }
Public Property Collect As Boolean