> So I need to get through dictionary of objects and resources in order to
>find the image and replace it ?
>

Yup!

> I know the image control name, Logo in my case, so I want to replace the 
> image linked to this control
>

If the control is an actual AcroForm Widget, then you can just find that Widget 
and use the info there.  If you haven't done so, a read of the relevant 
sections of ISO 32000-1 (the PDF standard) would probably help your 
understanding here.

Leonard

-----Original Message-----
From: devsgl [mailto:[email protected]] 
Sent: Wednesday, November 10, 2010 7:58 AM
To: [email protected]
Subject: Re: [iText-questions] Replacing image in XFA PDF with iTextSharp



Leonard Rosenthol-3 wrote:
> And that's why the issue is arising - you are not fully understanding
> static XFA.
> 
> In the case of static XFA, the page content (text & images) is in the PDF
> and the data is in the XFA.  You are modifying the wrong thing to change
> images.
So I need to get through dictionary of objects and resources in order to
find the image and replace it ?

Found an example to do this
(http://blog.rubypdf.com/2007/12/12/how-to-replace-images-in-a-pdf/). I've
searched starting from here to replace a specific image (I know the image
control name, Logo in my case, so I want to replace the image linked to this
control), but nothing for the moment.

Will search some more. If you know how to do, thanks in advance ^^


-- 
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Replacing-image-in-XFA-PDF-with-iTextSharp-tp3034631p3036026.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to