Skip to main content

Метод Sections:enumerate

Метод возвращает коллекцию секций документа.

Пример​


local sections = document:getSections()
for section in sections:enumerate() do
local properties = section:getPageProperties()
print(properties.width)
print(properties.height)
end