Метод Section.setPageProperties
Метод устанавливает параметры PageProperties страниц, находящихся в разделе.
Пример
Block block = document.getBlocks().getBlock(0);
if (block != null)
{
Section section = block.getSection();
PageProperties pageProperties = section.getPageProperties();
pageProperties.height = 100;
pageProperties.width = 200;
section.setPageProperties(pageProperties);
}