// --------------------------------------------------------------------------- public void Write(Stream stream) { using (ZipFile zip = new ZipFile()) { zip.AddFile(ORIGINAL, ""); FixBrokenForm example = new FixBrokenForm(); byte[] pdf = example.ManipulatePdf(ORIGINAL); zip.AddEntry(FIXED, pdf); zip.AddEntry(RESULT1, example.FillData(new PdfReader(ORIGINAL))); zip.AddEntry(RESULT2, example.FillData(new PdfReader(pdf))); zip.Save(stream); } }