public Page AddPage(int width = 210, int height = 297) { var contents = new ContentsObject(GetNextObjectNumber()); var page = new PageObject(GetNextObjectNumber(), new Size(width, height)); page.AddContents(contents); _pages.AddPage(page); _pageObjects.Add(page); return new Page(page); }