Skip to main content

Метод Table:getPrintAreas

Метод Table:getPrintAreas возвращает текущие области печати - вектор элементов DocumentAPI.CellRangePosition.

Пример​


tbl = document:getBlocks():getTable(0)
tbl:setPrintArea(DocumentAPI.CellRangePosition(0, 0, 5, 5))

printAreas = tbl:getPrintAreas()
print(printAreas[0]:toString())