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