Метод Section:getPageOrientation
Метод возвращает ориентацию страниц раздела.
Пример
local section = document:getBlocks():getBlock(0):getSection()
local orientation = section:getPageOrientation()
print(orientation)
Метод возвращает ориентацию страниц раздела.
local section = document:getBlocks():getBlock(0):getSection()
local orientation = section:getPageOrientation()
print(orientation)