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