ApiExamples.ExTabStopCollection.ClearEx C# (CSharp) Метод

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

private ClearEx ( ) : void
Результат void
        public void ClearEx()
        {
            //ExStart
            //ExFor:TabStopCollection.Clear
            //ExSummary:Shows how to remove all tab stops from a document.
            Document doc = new Document(MyDir + "Document.TableOfContents.doc");

            // Clear all tab stops from every paragraph.
            foreach (Paragraph para in doc.GetChildNodes(NodeType.Paragraph, true))
            {
                para.ParagraphFormat.TabStops.Clear();
            }

            doc.Save(MyDir + @"\Artifacts\Document.AllTabStopsRemoved.doc");
            //ExEnd
        }