Skip to main content

Метод Cell::setCellProperties

Позволяет установить свойства ячейки CellProperties.

Пример​


Cell cell = sheet.getCell("A1");
CellProperties cellProperties = cell.getCellProperties();
cellProperties.verticalAlignment = VerticalAlignment::Center;
cell.setCellProperties(cellProperties);
std::printf("%d", cellProperties.verticalAlignment);