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