[iText-questions] HELP Using PdfSignatureAppearance.fitText(...)

2007-04-09 Thread David Powell
I am attempting to use PdfSignatureAppearance.fitText(...) method to get the best font size for the text so that it would fit exactly in its coordinate Rectangle, the method is returning a considerable smaller font size than expected. I change the 'runDirection' argument but it has no effect on the

[iText-questions] Best Approach to Add a new Pages to an Existing PDF

2007-04-08 Thread David Powell
What is the best/recommended method to add a new page to a large PDF document? I want to add pages at the begin and at the end of the document. I am thinking about using the following steps, but I am not sure this is the best approach: 1. Create a new Document 2. Add new pages using Document.newPa

[iText-questions] Using PdfSignatureAppearance.fitText(...) with converted values

2007-04-08 Thread David Powell
I have a list of words and the coordinates (i.e. llx,lly, urx, ury) of the position of each word in the PDF. The coordinate values are specified at a resolution of 1200 PPI. I converted the coordinate values to PDF default resolution of 72 PPI using the formula: convertedValue72ppi = (72/1200) * c

[iText-questions] Automatically fitting text to a defined area

2007-04-06 Thread David Powell
Does iText provides a method to automatically fit a given text string to a defined area? What I would like to do is to define an area bounded by a rectangle and then add some text to that area and having the text automatically resize(larger or smaller) so that it fits the area exactly. Is this pos

[iText-questions] Generating 'Enhanced' PDF from Image-based PDFs using iText

2007-03-28 Thread David Powell
Hello, I have a bunch of image-based PDF files containing both text and illustrations. I want to convert these image-based PDF to 'Enhanced' PDF documents which will maintain the illustrations in the correct location but enable the Copying and Finding of specific text in the resulting PDF document