/// <summary> /// Gets the PageSetup of the previous section, or null, if the page setup belongs /// to the first section. /// </summary> public PageSetup PreviousPageSetup() { Section section = Parent as Section; if (section != null) { section = section.PreviousSection(); if (section != null) { return(section.PageSetup); } } return(null); }