// --------------------------------------------------------------------------- 
    public void Write(Stream stream) {
      using (ZipFile zip = new ZipFile()) {
        TransparentOverlay t = new TransparentOverlay();
        zip.AddEntry(RESULT, t.CreatePdf());
        zip.AddFile(RESOURCE, "");
        zip.Save(stream);             
      }
    }
Exemplo n.º 2
0
// ---------------------------------------------------------------------------
        public void Write(Stream stream)
        {
            using (ZipFile zip = new ZipFile()) {
                TransparentOverlay t = new TransparentOverlay();
                zip.AddEntry(RESULT, t.CreatePdf());
                zip.AddFile(RESOURCE, "");
                zip.Save(stream);
            }
        }