Example #1
0
// ---------------------------------------------------------------------------    
    public void Write(Stream stream) {
      using (ZipFile zip = new ZipFile()) {
        PeekABoo peekaboo = new PeekABoo();
        zip.AddEntry(RESULT1, peekaboo.CreatePdf(true));       
        zip.AddEntry(RESULT2, peekaboo.CreatePdf(false));       
        zip.Save(stream);             
      }
    }    
Example #2
0
// ---------------------------------------------------------------------------
        public void Write(Stream stream)
        {
            using (ZipFile zip = new ZipFile()) {
                PeekABoo peekaboo = new PeekABoo();
                zip.AddEntry(RESULT1, peekaboo.CreatePdf(true));
                zip.AddEntry(RESULT2, peekaboo.CreatePdf(false));
                zip.Save(stream);
            }
        }