internal void CreatePage() { PageTree pageTree = this["Pages"] as PageTree; Page page = new Page(); ObjectWarehouse.GetWareHouse().Add(page); pageTree.Pages.Add(new Page()); }
public void CreatePage() { DocumentCatalog documentCatalog = ObjectWarehouse.GetWareHouse()[0] as DocumentCatalog; documentCatalog.CreatePage(); }