Beispiel #1
0
        public IPDFObject Clone()
        {
            PDFDictionary dict = new PDFDictionary();

            dict.AddRange(this);
            return(dict);
        }
Beispiel #2
0
        private void extractTrailer(PDFDictionary dict)
        {
            if (dict == null)
            {
                throw new InvalidDocumentException();
            }

            if (_trailer != null)
            {
                _trailer.RemoveItem("Prev");
                _trailer.AddRange(dict);
            }
            else
            {
                _trailer = dict;
            }
        }