// --------------------------------------------------------------------------- public void Write(Stream stream) { using (ZipFile zip = new ZipFile()) { CompressAwt c = new CompressAwt(); zip.AddEntry(RESULT1, c.CreatePdf(100L)); zip.AddEntry(RESULT2, c.CreatePdf(20L)); zip.AddEntry(RESULT3, c.CreatePdf(10L)); zip.AddFile(RESOURCE, ""); zip.Save(stream); } }