Skip to main content

Класс TextOrientation

Класс TextOrientation содержит угол поворота текста в ячейке, фигуре и т. д. (см. CellProperties).

Пример​


Table firstSheet = document.getBlocks().getTable(0);
Cell cell = firstSheet.getCell("A3");

CellProperties cellProps = cell.getCellProperties();
cellProps.textOrientation = new TextOrientation(45);
cell.setCellProperties(cellProps);