예제 #1
0
        internal void CreatePage()
        {
            PageTree pageTree = this["Pages"] as PageTree;

            Page page = new Page();

            ObjectWarehouse.GetWareHouse().Add(page);

            pageTree.Pages.Add(new Page());
        }
예제 #2
0
        public void CreatePage()
        {
            DocumentCatalog documentCatalog = ObjectWarehouse.GetWareHouse()[0] as DocumentCatalog;

            documentCatalog.CreatePage();
        }