[ https://issues.apache.org/jira/browse/PDFBOX-1267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr closed PDFBOX-1267. ----------------------------------- Resolution: Not A Bug This is likely a documentation / design problem. The coordinates for regions must be java coordinates (0 on top), not PDF coordinates (0 on bottom). To get proper coordinates, render a PDF with 72dpi and then open it with a tool that shows the coordinates. > The rectangle doesn not match PDFTextStripperByArea() > ----------------------------------------------------- > > Key: PDFBOX-1267 > URL: https://issues.apache.org/jira/browse/PDFBOX-1267 > Project: PDFBox > Issue Type: Bug > Components: Utilities > Affects Versions: 0.7.3 > Environment: win 7, 32 bit > Reporter: Pham Minh Cuong > Priority: Major > Labels: test > Original Estimate: 72h > Remaining Estimate: 72h > > I use the panel which is front of the axAcroPDF. > I draw rectangle the point of which I got exactly. > Then I put this POINT(left top right bottom) as parameters in > Rectangle2D POINT = new Rectangle(left, top, right, bottom); > stripper.addRegion("testRegion", POINT); > to extract region to Powerpoint > But the ectangle does not match what i want > POINT(left top right bottom) > May anyone help me to solve this problem? > Many thanks. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org