Example #1
0
 public PdfDocument(PdfWriter writer)
 {
     this.writer = writer;
     this.catalog = new PdfCatalog(NextObjectId());
     this.pages = new PdfPageTree(NextObjectId());
     this.catalog.Pages = pages;
 }
Example #2
0
 public PdfDocument(PdfWriter writer)
 {
     this.writer        = writer;
     this.catalog       = new PdfCatalog(NextObjectId());
     this.pages         = new PdfPageTree(NextObjectId());
     this.catalog.Pages = pages;
 }