コード例 #1
0
// ---------------------------------------------------------------------------    
    public void Write(Stream stream) {
      using (ZipFile zip = new ZipFile()) {
        EmbedFontPostFacto example = new EmbedFontPostFacto();
        byte[] pdf = example.CreatePdf();
        zip.AddEntry(RESULT1, pdf);       
        zip.AddEntry(RESULT2, example.ManipulatePdf(pdf));       
        zip.Save(stream);             
      }
    }     
コード例 #2
0
// ---------------------------------------------------------------------------
        public void Write(Stream stream)
        {
            using (ZipFile zip = new ZipFile()) {
                EmbedFontPostFacto example = new EmbedFontPostFacto();
                byte[]             pdf     = example.CreatePdf();
                zip.AddEntry(RESULT1, pdf);
                zip.AddEntry(RESULT2, example.ManipulatePdf(pdf));
                zip.Save(stream);
            }
        }