It's possible to call .NET from COM but it's not something that comes out of 
the box. You'll have to write a wrapper around iTextSharp to take care of the 
COM limitations, like a default constructor, for example.

Paulo 

-----Original Message-----
From: 1T3XT info [mailto:[email protected]] 
Sent: Saturday, May 29, 2010 9:27 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Question About manipulating PDFs

[email protected] wrote:
> I've got a question about iText's ability to manipulate .PDF's. We have a
> customer who has about 60 .PDF's that they modify every year. We have to
> duplicate those in Excel in order to fill in certain cells with our
> application to print out (huge task).  It would be great if we could take
> these .PDF files and just add rotated text t them at certain positions.  Is
> it possible with iText's capabilities to:
> 
> 1. Turn text sideways? We have to print text rotated 90 degrees to fit into
> these cells.

If the existing PDF doesn't have to be changed,
then you can stamp extra content on each page using PdfStamper.
You can add extra text in any orientation (but it's stamped
on top of the existing content, the existing content doesn't
move; you can't "insert" a row or a line).

> 2. Place that rotated text at certain positions in the document. We have 10
> to 12 spaces that we need to fill in with numbers, and if we can tell it
> exactly where to place these, that would be exactly what we're looking for.

The best way to do this, would be to ask the supplier of the documents
to add text field annotations (AcroForm technology). You can easily do
that in Acrobat. iText can fetch the coordinates of those fields, fill
them out, and "flatten" the PDF.

> 3.  This one may be a stretch, but we have a Delphi 5 (Visual Pascal)
> application.  It can usually use Com Objects and .dll's, does anyone know if
> it'd be possible to use iText to do this sort of work in Delphi?

Delphi... It has been 10 years since I last heard of somebody using 
Delphi. I have no idea if you could use iText in a Delphi context.

Maybe another subscriber of the list can help you further.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------

_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
informação confidencial ou legalmente protegida. A incorrecta transmissão desta 
mensagem não significa a perca de confidencialidade. Se esta mensagem for 
recebida por engano, por favor envie-a de volta para o remetente e apague-a do 
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de 
usar, revelar ou distribuir qualquer parte desta mensagem. 

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain 
confidential or legally protected information. The incorrect transmission of 
this message does not mean the loss of its confidentiality. If this message is 
received by mistake, please send it back to the sender and delete it from your 
system immediately. It is forbidden to any person who is not the intended 
receiver to use, distribute or copy any part of this message.


------------------------------------------------------------------------------

_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to