예제 #1
0
        private void loadPages()
        {
            PDFDictionary pages = _dictionary["Pages"] as PDFDictionary;

            if (pages != null)
            {
                _pages = new PageCollection(pages, _documentEssential);
            }
            else
            {
                _pages = new PageCollection(_documentEssential);
                _dictionary.AddItem("Pages", _pages.GetDictionary());
            }
        }