ApiExamples.ExLists.RemoveBulletsFromParagraphs C# (CSharp) Метод

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

private RemoveBulletsFromParagraphs ( ) : void
Результат void
        public void RemoveBulletsFromParagraphs()
        {
            Document doc = new Document();

            //ExStart
            //ExFor:Paragraph.ListFormat
            //ExFor:ListFormat.RemoveNumbers
            //ExSummary:Removes bullets and numbering from all paragraphs in the main text of a section.
            Body body = doc.FirstSection.Body;

            foreach (Paragraph paragraph in body.Paragraphs)
                paragraph.ListFormat.RemoveNumbers();

            //ExEnd
        }