itext
How to make PdfPTable calculate column-width dynamically
I want to create a PdfPTable with columns containing Strings of different lengths. I learned that the width of each cell/column are the same for each column (default) or one can set开发者_开发问答 the[详细]
2023-04-11 05:08 分类:问答How to find current (X, Y) position in iTextSharp?
I need to create a PDF with several sections, and after each section need to add a line, but I don\'t know where to draw this line.[详细]
2023-04-11 03:47 分类:问答Itextsharp gradient background
Is there way to set gradient background to pdfcell or paragraph? Or do I have to 开发者_如何学编程use image?Yes, iText and iTextSharp support gradient colors. The PdfShading object has several static[详细]
2023-04-11 03:45 分类:问答Merge two PDF files -- one as background, one as foreground
I have two PDF-files. Both have the same geom开发者_如何学JAVAetry and the same amount of pages. I would like to merge them, such that one file is the background and one file is the foreground. I trie[详细]
2023-04-11 02:58 分类:问答Don't know how to create a centered "image + text" watermark in pdf files with iText (Java)
I\'m using the iText library, and I\'m trying to add a watermark at the bottom of the page. The watermark is simple, it has to be centered an has an image on the left开发者_运维技巧 and a text on the[详细]
2023-04-10 18:22 分类:问答iText: PdfSpotColor with PdfTable
We are using PdfTable to layout text on a PDF document using iText. We would like to express the colors of the fonts 开发者_StackOverflow社区as Pantone values. According to the documentation, you have[详细]
2023-04-10 17:14 分类:问答Print xml in pdf using itext
I want to print xml in pdf using itext in java, as well formatted and displayed in color and开发者_如何学运维 indention as well like shown in notepad++,[详细]
2023-04-10 12:11 分类:问答iTextSharp HTML to PDF preserving spaces
I am using the FreeTextBox.dll to get user input, and storing that information in HTML format in the database.A samle of the user\'s input is the below:[详细]
2023-04-10 00:17 分类:问答HTML to PDF Solution (Handling Content, Headers and Footers)
I\'m trying to create a \"report\" by generating a PDF based on HTML. At first, I simply attempted to write raw encoded HTML to a document and then print that document using Javascript. However, this[详细]
2023-04-09 22:35 分类:问答Can't create a PDF with iText and JSF
I want to create a pdf using iText in my JSF + Spring web app. When I click on a button the pdf should be generated. The method that is fired:[详细]
2023-04-09 19:50 分类:问答