public PdfImage CreateImage(AbstractImage img) { var pdfImg = new PdfImage(++objectcounter, ++imagecounter, img); trailer.Add(pdfImg); resources.addImage(pdfImg); //return imagecounter; return pdfImg; }
public void DrawImage(PdfImage pdfImage, double x, double y) { DrawImage(pdfImage.Name, x, y, pdfImage.Width, pdfImage.Height); }
public void DrawImage(PdfImage pdfImage, double x, double y, double _width, double _height) { DrawImage(pdfImage.Name,x,y,_width,_height); }
public void addImage(PdfImage image) { images.Add(image); }