// --------------------------------------------------------------------------- public void Write(Stream stream) { using (ZipFile zip = new ZipFile()) { TemplateClip t = new TemplateClip(); zip.AddEntry(RESULT, t.CreatePdf()); zip.AddFile(RESOURCE, ""); zip.Save(stream); } }