Exemplo n.º 1
0
// --------------------------------------------------------------------------- 
    public void Write(Stream stream) {
      using (ZipFile zip = new ZipFile()) {
        PageLabelExample labels = new PageLabelExample();
        byte[] pdf = labels.CreatePdf();
        zip.AddEntry(RESULT, pdf);           
        zip.AddEntry(LABELS, labels.ListPageLabels(pdf));           
        zip.AddEntry(RESULT2, labels.ManipulatePageLabel(pdf));           
        zip.Save(stream);             
      }
    }        
Exemplo n.º 2
0
// ---------------------------------------------------------------------------
        public void Write(Stream stream)
        {
            using (ZipFile zip = new ZipFile()) {
                PageLabelExample labels = new PageLabelExample();
                byte[]           pdf    = labels.CreatePdf();
                zip.AddEntry(RESULT, pdf);
                zip.AddEntry(LABELS, labels.ListPageLabels(pdf));
                zip.AddEntry(RESULT2, labels.ManipulatePageLabel(pdf));
                zip.Save(stream);
            }
        }