ApiExamples.ExTable.RemoveBordersFromAllCells C# (CSharp) Метод

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

private RemoveBordersFromAllCells ( ) : void
Результат void
        public void RemoveBordersFromAllCells()
        {
            //ExStart
            //ExFor:Table
            //ExFor:Table.ClearBorders
            //ExSummary:Shows how to remove all borders from a table.
            Document doc = new Document(MyDir + "Table.Document.doc");

            // Remove all borders from the first table in the document.
            Table table = (Table)doc.GetChild(NodeType.Table, 0, true);

            // Clear the borders all cells in the table.
            table.ClearBorders();

            doc.Save(MyDir + @"\Artifacts\Table.ClearBorders.doc");
            //ExEnd
        }