Hi,

I would like to know if is possible to modify pdf object and re-save the pdf with changes.

The purpose is change the path of a link in a pdf collection.

I did the following test, but i don't know how to continue: (code in vb.net)=


                obj = reader.GetPdfObject(numObj)

                If TypeOf obj Is PdfDictionary Then
                    str = obj.ToString
                    If InStr(1, str, "/Filespec") Then
                        ' ???? how to read the object content

                    end if
                End If

The pdf object is like this:

35 0 obj
<</Type /Filespec /F (pdfpath\pdfname.pdf) >>

and I need to change the pdfpath.  Is it possible with iText ?

Thanks ;)


------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
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