ApiExamples.ExStyles.ChangeStyleOfTOCLevel C# (CSharp) Метод

ChangeStyleOfTOCLevel() приватный Метод

private ChangeStyleOfTOCLevel ( ) : void
Результат void
        public void ChangeStyleOfTOCLevel()
        {
            Document doc = new Document();
            //ExStart
            //ExId:ChangeTOCStyle
            //ExSummary:Changes a formatting property used in the first level TOC style.
            // Retrieve the style used for the first level of the TOC and change the formatting of the style.
            doc.Styles[StyleIdentifier.Toc1].Font.Bold = true;
            //ExEnd
        }