Esempio n. 1
0
// --------------------------------------------------------------------------- 
    public void Write(Stream stream) {
      using (ZipFile zip = new ZipFile()) {
        TextFields example = new TextFields(0);
        byte[] pdf = example.CreatePdf();
        zip.AddEntry(RESULT1, pdf);       
        zip.AddEntry(RESULT2, example.ManipulatePdf(pdf));       
        zip.Save(stream);             
      }
    }
Esempio n. 2
0
// ---------------------------------------------------------------------------
        public void Write(Stream stream)
        {
            using (ZipFile zip = new ZipFile()) {
                TextFields example = new TextFields(0);
                byte[]     pdf     = example.CreatePdf();
                zip.AddEntry(RESULT1, pdf);
                zip.AddEntry(RESULT2, example.ManipulatePdf(pdf));
                zip.Save(stream);
            }
        }