Skip to main content

Перечисление LineEndingStyle

В таблице приведены типы окончания линии. Используется в поле style класса LineEndingProperties.

ЗначениеОписание
LineEndingStyle_Arrow
LineEndingStyle_Diamond
LineEndingStyle_Oval
LineEndingStyle_Stealth
LineEndingStyle_Triangle
LineEndingStyle_None

Пример​


firstSheet = document.getBlocks().getTable(0)
cell = firstSheet.getCell("C3")

lineProperties = myOfficeSDK.LineProperties()
lineProperties.headLineEndingProperties = myOfficeSDK.LineEndingProperties()
lineProperties.headLineEndingProperties.style = myOfficeSDK.LineEndingStyle_Arrow

borders = myOfficeSDK.Borders()
borders.setTop(lineProperties)
cell.setBorders(borders)