ApiExamples.ExTableColumn.TableColumnToTxt C# (CSharp) Метод

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

private TableColumnToTxt ( ) : void
Результат void
        public void TableColumnToTxt()
        {
            Document doc = new Document(MyDir + "Table.Document.doc");
            Table table = (Table)doc.GetChild(NodeType.Table, 1, true);

            //ExStart
            //ExId:TableColumnToTxt
            //ExSummary:Shows how to get the plain text of a table column.
            // Get the first column in the table.
            Column column = Column.FromIndex(table, 0);

            // Print the plain text of the column to the screen.
            Console.WriteLine(column.ToTxt());
            //ExEnd

            Assert.AreEqual("\r\nRow 1\r\nRow 2\r\nRow 3\r\n", column.ToTxt());
        }
    }