以编程方式创建PDF相册 [英] Programmatically create PDF photo albums
问题描述
我有一组PDF相册模板(它们有空白方块,用于放置文本和照片).我需要使用这些模板来生成实际的相册.
I have a set of PDF photo album templates (they have blank squares where text and photos should go). My need is to use these templates to generate actual albums.
我的计划是使用iText和Java.我将向应用程序发送所有要使用的图像URL的数组.我将确切地知道应该在模板上放置图像的位置,并使用绝对位置放置它们.
My plan was to use iText and Java. I would send the app an array of all the image URLs to use. I will know exactly where the images should be placed on the templates and use absolute positioning to place them.
我只是想知道是否有更简单或更干净的方法-即使这意味着使用另一种语言?生成PDF后,它们会自动发送到要求它们为PDF的打印机.
I was just wondering if there was an easier or cleaner way of doing this - even if it means using a different language? After the PDFs are generated they are automatically sent to a printers who require them to be PDFs.
推荐答案
我认为,使用 查看全文