Skip to main content

Метод Section.getPageProperties

Метод возвращает параметры страниц раздела PageProperties.

Пример​


Sections sections = document.getSections();
SectionsEnumerator sectionsEnumerator = sections.GetEnumerator();
foreach (var section in sectionsEnumerator)
{
PageProperties pageProperties = section.getPageProperties();
Console.WriteLine(pageProperties.height);
}