/// <summary> /// Whether to automagically generate table of contents entries when /// adding Chapters or Sections. /// </summary> /// <param name="autogenerate">Whether to automatically generate TOC entries</param> public void SetAutogenerateTocEntries(bool autogenerate) { _rtfDoc.SetAutogenerateTocEntries(autogenerate); }