Exemple #1
0
        public PdfImage CreateImage(AbstractImage img)
        {
            var pdfImg = new PdfImage(++objectcounter, ++imagecounter, img);

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

            //return imagecounter;
            return pdfImg;
        }
Exemple #2
0
 public void DrawImage(PdfImage pdfImage, double x, double y)
 {
     DrawImage(pdfImage.Name, x, y, pdfImage.Width, pdfImage.Height);
 }
Exemple #3
0
 public void DrawImage(PdfImage pdfImage, double x, double y, double _width, double _height)
 {
     DrawImage(pdfImage.Name,x,y,_width,_height);
 }
Exemple #4
0
 public void addImage(PdfImage image)
 {
     images.Add(image);
 }