コード例 #1
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);             
      }
    }
コード例 #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);
            }
        }