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