コード例 #1
0
// ---------------------------------------------------------------------------
        public void Write(Stream stream)
        {
            using (ZipFile zip = new ZipFile()) {
                KubrickDocumentary kubrick = new KubrickDocumentary();
                byte[]             ePdf    = kubrick.CreatePdf();
                zip.AddEntry(RESULT, ePdf);
                kubrick.ExtractDocLevelAttachments(ePdf, zip);
                zip.Save(stream);
            }
        }
コード例 #2
0
 // ---------------------------------------------------------------------------
 public void Write(Stream stream)
 {
     using (ZipFile zip = new ZipFile()) {
     KubrickDocumentary kubrick = new KubrickDocumentary();
     byte[] ePdf = kubrick.CreatePdf();
     zip.AddEntry(RESULT, ePdf);
     kubrick.ExtractDocLevelAttachments(ePdf, zip);
     zip.Save(stream);
       }
 }