public virtual void AddPages(iText.Kernel.Pdf.PdfPages pdfPages) { kids.Add(pdfPages.GetPdfObject()); count.SetValue(count.IntValue() + pdfPages.GetCount()); pdfPages.GetPdfObject().Put(PdfName.Parent, GetPdfObject()); SetModified(); }