ApiExamples.ExDocumentBuilder.TableCellVerticalRotatedFarEastTextOrientation C# (CSharp) Метод

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

private TableCellVerticalRotatedFarEastTextOrientation ( ) : void
Результат void
        public void TableCellVerticalRotatedFarEastTextOrientation()
        {
            Document doc = new Document(MyDir + "DocumentBuilder.TableCellVerticalRotatedFarEastTextOrientation.docx");

            Table table = (Table)doc.GetChild(NodeType.Table, 0, true);
            Cell cell = table.FirstRow.FirstCell;

            Assert.AreEqual(TextOrientation.VerticalRotatedFarEast, cell.CellFormat.Orientation);

            MemoryStream dstStream = new MemoryStream();
            doc.Save(dstStream, SaveFormat.Docx);

            table = (Table)doc.GetChild(NodeType.Table, 0, true);
            cell = table.FirstRow.FirstCell;

            Assert.AreEqual(TextOrientation.VerticalRotatedFarEast, cell.CellFormat.Orientation);
        }
ExDocumentBuilder