sshenllan:2 (detail) When I try to get text info with textFragment,I got wrong text color for “Presentation QA TEST” in page 1.in PDF it is RED, but return value from code is “Foreground Color :- #1F24DC”.And background color is wrong for “QA Text” in page 2, it should be blue but “background Color :- null”.Hi Lei,Thanks for using our API’s.I have tested the scenario and have managed to reproduce above stated issues. For the sake of correction, I have logged them as PDFNEWJAVA-35726 in our issue tracking system. We will further look into the details of these problem and will keep you posted on the status of correction. Please be patient and spare us little time. We are sorry for this inconvenience.
1 (general) Can I get all element detail info from pdf with aspose java pdf package.
Thanks for using our API’s.
A PDF file is comprised of Image, Text, Attachment, Annotations, Graph, Form fields and link objects and in order to retrieve information for all the objects/elements inside it, you need to parse the document and determine individual object. For more information, please visit Working with com.aspose.pdf
3 (detail) how can I get save graph to image to disk.(Page 16)
The chart inside PDF file is drawn as graph object and in order to convert it to Image format, you need to convert the whole page or particular region of page to Image format. For further details, please visit
The issues you have found earlier (filed as PDFJAVA-35730) have been fixed in Aspose.Pdf for Java 17.2.0.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
Document document = new Document("sample.pdf");
PdfExtractor pdfExtractor = new PdfExtractor();
//Extract Chart objects as image in a folder