Example #1
0
// ---------------------------------------------------------------------------    
    public void Write(Stream stream) {
      using (ZipFile zip = new ZipFile()) {
        SpecialId s = new SpecialId();
        byte[] pdf = s.CreatePdf();
        zip.AddEntry(Utility.ResultFileName(s.ToString() + ".pdf"), pdf);       
        zip.AddEntry(RESULT, new ResizeImage().ManipulatePdf(pdf));       
        zip.Save(stream);             
      }
    } 
Example #2
0
// ---------------------------------------------------------------------------
        public void Write(Stream stream)
        {
            using (ZipFile zip = new ZipFile()) {
                SpecialId s   = new SpecialId();
                byte[]    pdf = s.CreatePdf();
                zip.AddEntry(Utility.ResultFileName(s.ToString() + ".pdf"), pdf);
                zip.AddEntry(RESULT, new ResizeImage().ManipulatePdf(pdf));
                zip.Save(stream);
            }
        }