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