Esempio n. 1
0
// --------------------------------------------------------------------------- 
    public void Write(Stream stream) {
      using (ZipFile zip = new ZipFile()) {
        TransparentAwt t = new TransparentAwt();
        zip.AddEntry(RESULT, t.CreatePdf());
        zip.AddFile(RESOURCE, "");
        zip.Save(stream);             
      }
    }
Esempio n. 2
0
// ---------------------------------------------------------------------------
        public void Write(Stream stream)
        {
            using (ZipFile zip = new ZipFile()) {
                TransparentAwt t = new TransparentAwt();
                zip.AddEntry(RESULT, t.CreatePdf());
                zip.AddFile(RESOURCE, "");
                zip.Save(stream);
            }
        }