Exemple #1
0
 public PdfContentByte GetOverContent()
 {
     if (over == null)
     {
         if (pageResources == null)
         {
             pageResources = new PageResources();
             PdfDictionary resources = pageN.GetAsDict(PdfName.RESOURCES);
             pageResources.SetOriginalResources(resources, cstp.namePtr);
         }
         over = new PdfCopy.StampContent(cstp, pageResources);
     }
     return(over);
 }
Exemple #2
0
 public PdfContentByte GetUnderContent()
 {
     if (under == null) {
         if (pageResources == null) {
             pageResources = new PageResources();
             PdfDictionary resources = pageN.GetAsDict(PdfName.RESOURCES);
             pageResources.SetOriginalResources(resources, cstp.namePtr);
         }
         under = new PdfCopy.StampContent(cstp, pageResources);
     }
     return under;
 }