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

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

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