// --------------------------------------------------------------------------- public void Write(Stream stream) { using (ZipFile zip = new ZipFile()) { TextFields example = new TextFields(0); byte[] pdf = example.CreatePdf(); zip.AddEntry(RESULT1, pdf); zip.AddEntry(RESULT2, example.ManipulatePdf(pdf)); zip.Save(stream); } }
// --------------------------------------------------------------------------- public void Write(Stream stream) { using (ZipFile zip = new ZipFile()) { TextFields example = new TextFields(0); byte[] pdf = example.CreatePdf(); zip.AddEntry(RESULT1, pdf); zip.AddEntry(RESULT2, example.ManipulatePdf(pdf)); zip.Save(stream); } }