Метод document:setPageProperties
Метод устанавливает свойство DocumentAPI.PageProperties в документе.
Пример
local properties = DocumentAPI.PageProperties()
properties.width = 100
properties.height = 200
document:setPageProperties(properties)
Метод устанавливает свойство DocumentAPI.PageProperties в документе.
local properties = DocumentAPI.PageProperties()
properties.width = 100
properties.height = 200
document:setPageProperties(properties)