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