Skip to main content

Метод Cell.setParagraphProperties

Устанавливает свойства абзаца ParagraphProperties, находящегося в ячейке.

Пример​


firstSheet = document.getBlocks().getTable(0)
cell = firstSheet.getCell("B2")
paragraphProperties = cell.getParagraphProperties()
paragraphProperties.alignment = myOfficeSDK.Alignment_Center
cell.setParagraphProperties(paragraphProperties)