Skip to main content

Класс TextOrientation

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

Пример​


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

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