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