Esempio n. 1
0
        public PdfImage CreateImage(AbstractImage img)
        {
            var pdfImg = new PdfImage(++objectcounter, ++imagecounter, img);

            trailer.Add(pdfImg);
            resources.addImage(pdfImg);

            //return imagecounter;
            return pdfImg;
        }
Esempio n. 2
0
 public PdfImage(int number, int imgnumber, AbstractImage img)
     : base(number)
 {
     this.imgnumber = imgnumber;
     Image = img;
 }