Метод Section::getPageProperties
Метод возвращает параметры страниц раздела PageProperties.
Пример
Sections sections = document.getSections();
std::shared_ptr<Enumerator<Section>> enumerator = sections.getEnumerator();
while (enumerator->isValid())
{
Section section = enumerator->getCurrent();
PageProperties pageProperties = section.getPageProperties();
std::printf("%d, %d", pageProperties.height, pageProperties.width);
enumerator->goToNext();
}