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