Hi there,
I am trying to extract a tag property of a PdfOutline object from an existed
Pdf document by getTag() foundation. The tag property is added by setTag()
when I create this Pdf document. Then I will how to get an PdfOutline object
from the Pdf document?
The code to set tag for a PdfOutline:
PdfOutline oline1 = new PdfOutline(root, PdfAction.gotoLocalPage(1, dest1,
writer), "Chapter 1--look me");
oline1.setOpen(false);
oline1.setTag("Hoary and Lannie");
I just want to extract the PdfOutline by the title -”Chapter 1--look me”.
Add get the tag-“Hoary and Lannie” from the PdfOutline object by getTag().
Now the problem encountered is cannot find the PdfOutline object.
Best wishes
Lannie
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
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