Метод Section:setPageProperties
Метод устанавливает параметры PageProperties страниц, находящихся в разделе.
Пример
local section = document:getBlocks():getBlock(0):getSection()
local properties = section:getPageProperties()
properties.width = 100
properties.height = 200
properties.margins.left = 10
section:setPageProperties(properties)